Bug #10422 Updated: cant compile with --with-apxs2
| From: | sniper@php.net | Date: | Tue, 22 May 2001 21:19:25 +0000 |
| Subject: | Bug #10422 Updated: cant compile with --with-apxs2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56359@lists.php.net to get a copy of this message | ||
ID: 10422
Updated by: sniper
Reported By: petko@5co.org
Old-Status: Open
Status: Closed
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Please try with latest Apache2 cVS and latest PHP cvs.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-04-20 09:15:37] petko@5co.org
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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10422&edit=2