I have successfully compliled apache 2.0.28
by ./configure --enable-so
and then I want to compile php 4.0.6
with apxs
I ran the following command :
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd
and compilation fails...
---------error-----------
Making all in sapi
make[1]: Entre dans le répertoire /partage/module_web/php-4.0.6/sapi'
Making all in apache2filter
make[2]: Entre dans le répertoire/partage/module_web/php-4.0.6/sapi/apache2filter'
make[3]: Entre dans le répertoire /partage/module_web/php-4.0.6/sapi/apache2filter'
/bin/sh /partage/module_web/php-4.0.6/libtool --silent --mode=compile gcc -I. -I/partage/module_web/php-4.0.6/sapi/apache2filter -I/partage/module_web/php-4.0.6/main -I/partage/module_web/php-4.0.6 -I/usr/local/apache2/include -I/partage/module_web/php-4.0.6/Zend -I/partage/module_web/php-4.0.6/ext/mysql/libmysql -I/partage/module_web/php-4.0.6/ext/xml/expat/xmltok -I/partage/module_web/php-4.0.6/ext/xml/expat/xmlparse -I/partage/module_web/php-4.0.6/TSRM -D_REENTRANT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -g -O2 -pthread -c sapi_apache2.c
sapi_apache2.c: In functionphp_input_filter':
sapi_apache2.c:248: warning: passing arg 4 of ap_get_brigade' from incompatible pointer type
sapi_apache2.c: In functionphp_output_filter':
sapi_apache2.c:337: too few arguments to function ap_save_brigade'
sapi_apache2.c: In functionphp_register_hook':
sapi_apache2.c:443: warning: passing arg 2 of ap_register_input_filter' from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Erreur 1
make[3]: Quitte le répertoire/partage/module_web/php-4.0.6/sapi/apache2filter'
make[2]: [all-recursive] Erreur 1
make[2]: Quitte le répertoire /partage/module_web/php-4.0.6/sapi/apache2filter'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire/partage/module_web/php-4.0.6/sapi'
make: [all-recursive] Erreur 1
---------error-----------
Could any one help me !!!!
Thx in advance