From:             [EMAIL PROTECTED]
Operating system: Linux  2.2.18 #sparc64
PHP version:      4.0.4pl1
PHP Bug Type:     Compile Failure
Bug description:  cant compile with --with-apxs2

I made configure in this way:
./configure --with-mysql=/home/petkok/mysql --with-apxs2=/home/petkok/httpd/bin/apxs 
--with-config-file-path=/home/petkok/php4

when i run "make" i receive this error:

make[1]: Entering directory `/home/petkok/php-4.0.4pl1/sapi/apache2filter'
/bin/sh /home/petkok/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. 
-I/home/petkok/php-4.0.4pl1/sapi/apache2filter -I/home/petkok/php-4.0.4pl1/main 
-I/home/petkok/php-4.0.4pl1 -I/home/petkok/httpd/include 
-I/home/petkok/httpd/include/apr -I/home/petkok/php-4.0.4pl1/Zend 
-I/home/petkok/mysql/include/mysql -I/home/petkok/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/home/petkok/php-4.0.4pl1/ext/xml/expat/xmlparse -I/home/petkok/php-4.0.4pl1/TSRM  
-D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -g -O2 -pthread  -c sapi_apache2.c
In file included from sapi_apache2.c:44:
php_apache.h:27: parse error before `ap_bucket_brigade'
php_apache.h:27: warning: no semicolon at end of struct or union
php_apache.h:35: parse error before `}'
php_apache.h:35: warning: data definition has no type or storage class
sapi_apache2.c: In function `php_apache_sapi_ub_write':
sapi_apache2.c:49: `ap_bucket' undeclared (first use in this function)
sapi_apache2.c:49: (Each undeclared identifier is reported only once
sapi_apache2.c:49: for each function it appears in.)

....
sapi_apache2.c:453: warning: excess elements in scalar initializer
sapi_apache2.c:453: warning: (near initialization for `php4_module')
sapi_apache2.c:455: warning: excess elements in scalar initializer
sapi_apache2.c:455: warning: (near initialization for `php4_module')
sapi_apache2.c:455: warning: data definition has no type or storage class
make[1]: *** [sapi_apache2.lo] Error 1
make[1]: Leaving directory `/home/petkok/php-4.0.4pl1/sapi/apache2filter'
make: *** [all-recursive] Error 1



-- 
Edit Bug report at: http://bugs.php.net/?id=10422&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to