Bug #13713 Updated: Compilation as an Apache 2 module fails
| From: | sniper@php.net | Date: | Wed, 17 Oct 2001 23:59:15 +0000 |
| Subject: | Bug #13713 Updated: Compilation as an Apache 2 module fails | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68169@lists.php.net to get a copy of this message | ||
ID: 13713
Updated by: sniper
Reported By: sms@lateral.net
Old Status: Open
Status: Bogus
Bug Type: Compile Failure
Operating System: linux 2.4.12
PHP Version: 4.0.6
New Comment:
Apache2 is still in beta. No use to send any bug reports
concerning it. You should propably get Apache2 also from CVS
to get it to work with PHP CVS.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-10-17 08:35:29] sms@lateral.net
Configure and install Apache 2.0.16 using the following configure command:
./configure --prefix=/usr/local/apache-2/ --enable-dav-fs --enable-dav --enable-rewrite --enable-so
Download PHP from CVS (17th October, 2001, 12:12 GMT) and run ./buildconf, then configure using:
./configure --with-apxs2=/usr/local/apache-2/bin/apxs --with-pgsql --with-mysql=/usr --with-ldap
Compile fails with the following warning:
/bin/sh /home/sms/php4/libtool --silent --mode=compile gcc -I. -I/home/sms/php4/sapi/apache2filter
-I/home/sms/php4/main -I/home/sms/php4 -I/usr/local/apache-2//include -I/home/sms/php4/Zend
-I/usr/include/mysql -I/home/sms/php4/ext/xml/expat -DNO_DBM_REWRITEMAP -D_REENTRANT
-I/home/sms/php4/TSRM -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c
In file included from /usr/local/apache-2/include/apr_buckets.h:61,
from /usr/local/apache-2/include/util_filter.h:59,
from sapi_apache2.c:33:
/usr/local/apache-2/include/apr_general.h:115: warning: `XtOffsetOf' redefined
/home/sms/php4/main/php.h:345: warning: this is the location of the previous definition
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:252: too many arguments to function `ap_get_brigade'
sapi_apache2.c:259: too many arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:346: too many arguments to function `ap_save_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:468: warning: passing arg 2 of `ap_register_input_filter' from incompatible
pointer type
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13713&edit=1