Well for the first time in my life i am trying to install PHP on Apache2 on my Linux Box. I configure the php source with
./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-config-file-path=/wwwroot/php --with-mysql
where my apache is installed in /wwwroot
everything goes fine till here ..but now when i do MAKE
here is the error I get:
Making all in sapi
make[1]: Entering directory /usr/src/tars/php-4.2.1/sapi'
Making all in apache2filter
make[2]: Entering directory/usr/src/tars/php-4.2.1/sapi/apache2filter'
make[3]: Entering directory /usr/src/tars/php-4.2.1/sapi/apache2filter'
/bin/sh /usr/src/tars/php-4.2.1/libtool --silent --mode=compile gcc -I. -I/usr/src/tars/php-4.2.1/sapi/apache2filter -I/usr/src/tars/php-4.2.1/main -I/usr/src/tars/php-4.2.1 -I/wwwroot/include -I/usr/src/tars/php-4.2.1/Zend -I/usr/src/tars/php-4.2.1/ext/mysql/libmysql -I/usr/src/tars/php-4.2.1/ext/xml/expat -D_REENTRANT -I/usr/src/tars/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c
sapi_apache2.c: In functionphp_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of ap_register_output_filter' makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to functionap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of ap_register_input_filter' makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to functionap_register_input_filter'
make[3]: [sapi_apache2.lo] Error 1
make[3]: Leaving directory /usr/src/tars/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory/usr/src/tars/php-4.2.1/sapi/apache2filter'
make[1]: [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/tars/php-4.2.1/sapi'
make: *** [all-recursive] Error 1
can anyone suggest what is the real problem here..i tried with php4.2.1 also.. i get the same error.
please help me to tackle this
ashay