Greetings!

I'm trying to compile PHP 4.2.1 to use it with Apache 2.0.39 and mySQL.

Here's my ./configure

linux:/usr/local/php-4.2.1 # ./configure --prefix=/usr/local/php-4.2.1 
--with-config-file-path=/usr/local/php-4.2.1 
--with-apxs2=/usr/local/Apache-2.0.39/bin/apxs --enable-track-vars 
--enable-magic-quotes --enable-debugger

and it configures ok.  But when I run make I get:


/bin/sh /usr/local/php-4.2.1/libtool --silent --mode=compile gcc  -I. 
-I/usr/local/php-4.2.1/sapi/apache2filter -I/usr/local/php-4.2.1/main 
-I/usr/local/php-4.2.1 -I/usr/local/Apache-2.0.39/include 
-I/usr/local/php-4.2.1/Zend -I/usr/local/php-4.2.1/ext/mysql/libmysql 
-I/usr/local/php-4.2.1/ext/xml/expat  -D_REENTRANT 
-I/usr/local/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic 
  -c php_functions.c
php_functions.c:93: parse error
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/usr/local/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.1/sapi'
make: *** [all-recursive] Error 1
linux:/usr/local/php-4.2.1 #

Any ideas on what's wrong?  Please post to this list and send me an 
email.  I have to head to the Bosnia AO for the next week.

Thanks!
Eric


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to