Hi, List,
I need some help with compilation.
./configure runs fine, in the following manner (4.3.10):
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl
--with-imap=/usr/local/imap-2004a
--with-mysql --with-gettext=/usr/local --with-mcrypt --with-gd
--with-png-dir=/usr/local
--with-jpeg-dir=/usr/local --with-zlib=/usr/local
I get no errors, and do get the 'Thank You for using PHP' message.
However, make fails in the following way:
/bin/sh /php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile
cc -Iext/openssl/ -I/php-4.3.10/ext/openssl/ -DPHP_ATOM_INC
-I/php-4.3.10/include
-I/php-4.3.10/main -I/php-4.3.10 -I/php-4.3.10/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/local/imap-2004a/include
-I/php-4.3.10/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS -I/php-4.3.10/TSRM -g -O2 -prefer-pic -c
/php-4.3.10/ext/openssl/openssl.c -o ext/openssl/openssl.lo
/bin/sh /php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile
cc -Iext/zlib/ -I/php-4.3.10/ext/zlib/ -DPHP_ATOM_INC -I/php-4.3.10/include
-I/php-4.3.10/main -I/php-4.3.10 -I/php-4.3.10/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/local/imap-2004a/include
-I/php-4.3.10/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS -I/php-4.3.10/TSRM -g -O2 -prefer-pic -c
/php-4.3.10/ext/zlib/zlib.c -o ext/zlib/zlib.lo
In file included from /php-4.3.10/ext/standard/php_standard.h:45,
from /php-4.3.10/ext/zlib/zlib.c:48:
/php-4.3.10/ext/standard/php_image.h:1: error: parse error before '/' token
/php-4.3.10/ext/standard/php_image.h:13: error: syntax error at '@' token
/php-4.3.10/ext/standard/php_image.h:15: error: syntax error at '@' token
/php-4.3.10/ext/standard/php_image.h:16: error: syntax error at '@' token
*** Error code 1
make: Fatal error: Command failed for target `ext/zlib/zlib.lo'
Any ideas? I really need to get this going ASAP. I'll post it here first,
but it looks like a bug?
Thanks,
--H. Scott Brown