On Sunday 25 August 2002 06:10 am, Casey Allen Shobe wrote: > I would much rather be using Apache 2.0.40, however PHP would not build at > all with --with-apxs2=/usr/sbin/apxs on another machine with Apache 2.0.40 > installed.
I was stupid in saying that without mentioning any further detail...here follows what I should have mentioned previously: package php:/usr/src/php/php-4.2.2> ./configure --prefix=/usr --sysconfdir=/etc --without-mysql --with-pgsql --enable-memory-limit --with-zlib --with-bz2 --with-openssl --with-config-file-path=/etc --enable-track-vars --enable-bcmath --enable-calendar --with-gdbm --with-gmp --with-apxs2=/usr/sbin/apxs [...configure completes successfully...] package php:/usr/src/php/php-4.2.2> make [...snip...] Making all in apache2filter make[2]: Entering directory `/usr/src/php/php-4.2.2/sapi/apache2filter' make[3]: Entering directory `/usr/src/php/php-4.2.2/sapi/apache2filter' /bin/sh /usr/src/php/php-4.2.2/libtool --silent --mode=compile gcc -I. -I/usr/src/php/php-4.2.2/sapi/apache2filter -I/usr/src/php/php-4.2.2/main -I/usr/src/php/php-4.2.2 -I/usr/include/apache2 -I/usr/src/php/php-4.2.2/Zend -I/usr/src/php/php-4.2.2/ext/xml/expat -D_REENTRANT -I/usr/src/php/php-4.2.2/TSRM -O3 -march=i686 -mcpu=i686 -funroll-loops -ffast-math -pthread -DZTS -prefer-pic -c sapi_apache2.c sapi_apache2.c: In function `php_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 function `ap_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 function `ap_register_input_filter' make[3]: *** [sapi_apache2.lo] Error 1 make[3]: Leaving directory `/usr/src/php/php-4.2.2/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/php/php-4.2.2/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/php/php-4.2.2/sapi' make: *** [all-recursive] Error 1 package php:/usr/src/php/php-4.2.2> Again, thanks in advance for any advice. -- Casey Allen Shobe / Network Security Analyst & PHP Developer SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144 [EMAIL PROTECTED] / http://www.secureworks.net Content is my own and does not necessarily represent my company. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php