470,874 Members | 1,470 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,874 developers. It's quick & easy.

Trying to build PHP 4.3.0 with Apache 2.2.2 on SUSE 9.1

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?

May 7 '06 #1
1 1795
Seemed to make some headway by switching from gcc to g++ with
-fpermissive...

May 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Oliver | last post: by
reply views Thread by Revenge | last post: by
reply views Thread by simon | last post: by
18 posts views Thread by Randell D. | last post: by
3 posts views Thread by madunix | last post: by
reply views Thread by sebor | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.