ID: 13119
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: GD related
Operating System: Linux 2.4.9
PHP Version: 4.0.6
New Comment:

I can not reproduce this with GD 1.8.3 and latest CVS.

--Jani



Previous Comments:
------------------------------------------------------------------------

[2001-09-06 20:54:14] [EMAIL PROTECTED]

I forgot: What version of GD library you think you're compiling with?

older (1.8.3)

Upgraded to 1.8.7 and everything then was fine. Maybe that ought to be in the docs?

------------------------------------------------------------------------

[2001-09-06 20:41:06] [EMAIL PROTECTED]

Have you tried to compile it as not shared?
yes

Have you deleted config.cache before reconfigure?
yes (make distclean)

Have you updated your gd library recently?
no

Do you have different versions of GD library installed
in your system?
no



------------------------------------------------------------------------

[2001-09-04 20:25:48] [EMAIL PROTECTED]

I forgot: What version of GD library you think you're compiling with?


------------------------------------------------------------------------

[2001-09-04 20:25:03] [EMAIL PROTECTED]

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?

--Jani


------------------------------------------------------------------------

[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/mysql/libmysql 
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok 
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse -I/usr/local/src/php-4.0.6/TSRM  
-DLINUX=2 -DMOD_SSL=207101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8 
-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 http://bugs.php.net/?id=13119&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
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