From: kosha@kp.ru
Operating system: Solaris 2.7 Sparc
PHP version: 4.0.5
PHP Bug Type: Compile Failure
Bug description: Compile falure when i trying to configure php with GD library
Compile falure when i trying to configure php with GD library.
Configuration -
./configure --with-apache=../apache_1.3.19 --with-gd=/usr/local - passed
(if i use another options such as --with or any other problem will stay).
make (or gmake) filed
Error code :
Making all in gd
gcc -I. -I/usr/local/src/php-4.0.5/ext/gd -I/usr/local/src/php-4.0.5/main
-I/us
r/local/src/php-4.0.5 -I/usr/local/src/apache_1.3.19/src/include
-I/usr/local/sr
c/apache_1.3.19/src/os/unix -I/usr/local/src/php-4.0.5/Zend
-I/usr/local/include
-I/usr/local/mysql/include/mysql
-I/usr/local/src/php-4.0.5/ext/xml/expat/xmlto
k -I/usr/local/src/php-4.0.5/ext/xml/expat/xmlparse
-I/usr/local/src/php-4.0.5/T
SRM -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2
-c gd
.c && touch gd.lo
gd.c:91: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
*** Error code 1
make: Fatal error: Command failed for target `gd.lo'
Current working directory /usr/local/src/php-4.0.5/ext/gd
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php-4.0.5/ext/gd
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php-4.0.5/ext
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Without GD library all other options compiler and work correctly.
--
Edit bug report at: http://bugs.php.net/?id=11965&edit=1