|
Posted by paulsendave@ -spamfilter- yahoo.com on 05/08/06 00:29
What a mix!
Whilst I grep around for the first set of problems, I thought I'd ask
any generous members of this PHP community for clues...
I've started by trying out the instructions at:
http://dan.drydog.com/apache2php.html
Got this out of the make:
-----------------------------------------------------------------------------------------------
/bin/sh libtool --silent --mode=compile gcc -Isapi/apache2filter/
-I/root/downloads/php-4.3.0/sapi/apache2filter/ -DPHP_ATOM_INC
-I/root/downloads/php-4.3.0/include -I/root/downloads/php-4.3.0/main
-I/root/downloads/php-4.3.0 -I/usr/local/Apache2/include
-I/root/downloads/php-4.3.0/Zend -I/usr/local/include
-I/root/downloads/php-4.3.0/ext/xml/expat
-I/root/downloads/php-4.3.0/TSRM -g -O2 -prefer-pic -c
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c -o
sapi/apache2filter/sapi_apache2.lo
In file included from /usr/local/Apache2/include/apr_strings.h:48,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34:
/usr/local/Apache2/include/apr.h:270: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr.h:270: warning: data definition has no
type or storage class
In file included from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34:
/usr/local/Apache2/include/apr_strings.h:297: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr_strings.h:313: error: parse error before
'*' token
/usr/local/Apache2/include/apr_strings.h:349: error: parse error before
"size"
In file included from /usr/local/Apache2/include/apr_file_io.h:29,
from /usr/local/Apache2/include/apr_network_io.h:26,
from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:
/usr/local/Apache2/include/apr_file_info.h:204: error: parse error
before "apr_off_t"
/usr/local/Apache2/include/apr_file_info.h:204: warning: no semicolon
at end of struct or union
/usr/local/Apache2/include/apr_file_info.h:206: warning: data
definition has no type or storage class
/usr/local/Apache2/include/apr_file_info.h:212: error: `ctime'
redeclared as different kind of symbol
/usr/include/time.h:254: error: previous declaration of `ctime'
/usr/local/Apache2/include/apr_file_info.h:219: error: parse error
before '}' token
In file included from /usr/local/Apache2/include/apr_network_io.h:26,
from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:
/usr/local/Apache2/include/apr_file_io.h:548: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr_file_io.h:740: error: parse error before
"apr_off_t"
In file included from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:
/usr/local/Apache2/include/apr_network_io.h:545: error: parse error
before "apr_off_t"
-----------------------------------------------------------------------------------------------
Perhaps some confusion about off64_t datatype, LARGEFILE support, or
somesuch?
[Back to original message]
|