ID: 13119
Updated by: sniper
Old Status: Open
Status: Feedback
Bug Type: GD related
Operating System: Linux 2.4.9
PHP Version: 4.0.6
New Comment:

Have you tried to compile it as not shared?
Have you deleted config.cache before reconfigure?
Have you updated your gd library recently?
Do you have different versions of GD library installed
in your system?


Previous Comments:

[2001-09-04 01:32:44] [EMAIL PROTECTED]

I ran the following configure script:

./configure  --with-apxs=/usr/local/apache/bin/apxs --enable-dbase --enable-ftp 
--with-gd=shared,/usr/local --with-ldap=/usr/local --with-mysql --with-mm 
--with-openssl --enable-sockets --with-zlib --enable-bcmath

And saw this when it tried to comple the GD portion. Sniper at PHP snapped at the last 
guy who submitted the bug about not placing the GD install base in the command line 
options... well, I did and it *still* gave me the error. So instead of snapping at the 
userbase and marking this bug as *user error* try giving constructive feedback. If it 
*was* user error, then why send them to the CVS tree?

make[3]: Entering directory `/usr/local/src/php-4.0.6/ext/gd'
/bin/sh /usr/local/src/php-4.0.6/libtool --silent --mode=compile gcc  -I. 
-I/usr/local/src/php-4.0.6/ext/gd -I/usr/local/src/php-4.0.6/main 
-I/usr/local/src/php-4.0.6 -I/usr/local/apache/include -I/usr/local/src/php-4.0.6/Zend 
-I/usr/local/ssl/include -I/usr/local/include 
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse -I/usr/local/src/php-4.0.6/TSRM  
-DXML_BYTE_ORDER=12 -g -O2  -c gd.c && touch gd.slo
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.slo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
make: *** [all-recursive] Error 1


Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to