Anyone else having problems with installing php (dso) on latest a pache 2.0.36?
| From: | Jonathan Thomas | Date: | Wed, 19 Jun 2002 12:56:43 +0000 |
| Subject: | Anyone else having problems with installing php (dso) on latest a pache 2.0.36? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7386@lists.php.net to get a copy of this message | ||
Just installed the latest apache 2.0.36 (to resolve latest security
advisory)
Compiling php 4.2.1 as a shared module
./configure --with-mysql --with-apxs2=/usr/local/httpd/bin/apxs
Configure completes fine. Make dies with the following errors:
make[3]: Entering directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
/bin/sh /usr/local/etc/php-4.2.1/libtool --silent --mode=compile gcc -I.
-I/usr/local/etc/php-4.2.1/sapi/apache2filter
-I/usr/local/etc/php-4.2.1/main -I/usr/local/etc/php-4.2.1
-I/usr/local/etc/httpd/include -I/usr/local/etc/php-4.2.1/Zend
-I/usr/local/etc/php-4.2.1/ext/mysql/libmysql
-I/usr/local/etc/php-4.2.1/ext/xml/expat -D_REENTRANT
-I/usr/local/etc/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic
-c sapi_apache2.c
/bin/sh /usr/local/etc/php-4.2.1/libtool --silent --mode=compile gcc -I.
-I/usr/local/etc/php-4.2.1/sapi/apache2filter
-I/usr/local/etc/php-4.2.1/main -I/usr/local/etc/php-4.2.1
-I/usr/local/etc/httpd/include -I/usr/local/etc/php-4.2.1/Zend
-I/usr/local/etc/php-4.2.1/ext/mysql/libmysql
-I/usr/local/etc/php-4.2.1/ext/xml/expat -D_REENTRANT
-I/usr/local/etc/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic
-c apache_config.c
/bin/sh /usr/local/etc/php-4.2.1/libtool --silent --mode=compile gcc -I.
-I/usr/local/etc/php-4.2.1/sapi/apache2filter
-I/usr/local/etc/php-4.2.1/main -I/usr/local/etc/php-4.2.1
-I/usr/local/etc/httpd/include -I/usr/local/etc/php-4.2.1/Zend
-I/usr/local/etc/php-4.2.1/ext/mysql/libmysql
-I/usr/local/etc/php-4.2.1/ext/xml/expat -D_REENTRANT
-I/usr/local/etc/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic
-c php_functions.c
php_functions.c:93:27: missing binary operator before '!'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
make: *** [all-recursive] Error 1
I went back one version on apache 2 and the compile worked fine. Perhaps
apache changed something that php has yet to catch up with?
Thanks,
JT