Pls help....I'm getting out of my depth...

PHP-4.2.3 > Apache2.0.39 > Solaris9 (sun4u) > gcc3.2

I have installed Apache2 (from source) in /usr/apache2/ plus /usr/local/mysql (from sunfreware.com) and both are configured, running and seem to work fine.

I have successfully performed a normal PHP ./configure as described in INSTALL, with

--with-mysql=/path/to/mysql
--with-zlib
--with-apxs2=/path/to/apache2/bin/apxs
--with-netpbm=/path/to/netpbm

which seems to complete successfully.

when I launch make it eventually bombs out with :
-----snip-----
Making all in sapi
make[1]: Entering directory /usr/local/php-4.2.3/sapi'
Making all in apache2filter
make[2]: Entering directory
/usr/local/php-4.2.3/sapi/apache2filter'
make[3]: Entering directory /usr/local/php-4.2.3/sapi/apache2filter'
/bin/ksh /usr/local/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/usr/local/php-4.2.3/sapi/apache2filter -I/usr/local/php-4.2.3/main -I/usr/local/php-4.2.3 -I/usr/apache2/include -I/usr/local/php-4.2.3/Zend -I/usr/local/mysql/include -I/usr/local/php-4.2.3/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/php-4.2.3/TSRM -g -O2 -pthreads -DZTS -prefer-pic -c sapi_apache2.c
sapi_apache2.c: In function
php_register_hook':
sapi_apache2.c:567: too many arguments to function ap_register_output_filter'
sapi_apache2.c:568: too many arguments to function
ap_register_input_filter'
make[3]: [sapi_apache2.lo] Error 1
make[3]: Leaving directory /usr/local/php-4.2.3/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
/usr/local/php-4.2.3/sapi/apache2filter'
make[1]:
[all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.3/sapi'
make: *** [all-recursive] Error 1
----snip----

My guess somethings not linked properly?
Or something missing from an environment varible?
Has anyone seen this before?
Or even better, has anyone got a fix?

Pls help.

TIA

C.W.

    I'm glad I could return the favor.

      Write a Reply...