php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14318 Can't Compile PHP 4.06 With GD2
Submitted: 2001-12-03 00:26 UTC Modified: 2001-12-03 13:50 UTC
From: justin at somnioworld dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.6 OS: FreeBSD 4.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: justin at somnioworld dot com
New email:
PHP Version: OS:

 

 [2001-12-03 00:26 UTC] justin at somnioworld dot com
Please Help Me! 

I am trying to compile PHP 4.06 with GD2 and it won't seem to work. I am running FreeBSD 4.3 without Xwindows because it is strictly a server envoronment and X is not needed. I am using the following configure command when configuring PHP: 

./configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache_1.3.14 --enable-ftp --with-pspell=/usr/local/include/pspell --enable-track-vars --with-gd=/usr/ports/graphics/gd2/work/gd-2.0.1 --enable-gd-native-ttf 


It will complete the configuration fine. It looks like everything is going to work. However, when I do the "make" it starts to complile and then stops half way through with the following errors 

usr/local/mysql/include/mysql -I/usr/local/include/pspell -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 -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo 
gd.c: In function `php_if_imagegif': 
gd.c:1404: `gdImageGif' undeclared (first use in this function) 
gd.c:1404: (Each undeclared identifier is reported only once 
gd.c:1404: for each function it appears in.) 
*** Error code 1 

Stop in /usr/local/src/php-4.0.6/ext/gd. 
*** Error code 1 

Stop in /usr/local/src/php-4.0.6/ext/gd. 
*** Error code 1 


I don't understand why I am getting the error "gdImageGif' undeclared (first use in this function) 
" when GIF support isn't even included in GD any longer. I am not sure what to do. I really hope someone can help me. I have seen similar posts in other groups with no answers to the questions. Please email if you have any idea. 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-03 04:10 UTC] sniper@php.net
Fixed in CVS.

--Jani

 [2001-12-03 12:33 UTC] justin at somnioworld dot com
I am glad the probem has been fixed in the CVS.  Is there anyway I can obtain what the fix was so I could pathc this myself to get it going rather then downloading the cvs version?
 [2001-12-03 13:50 UTC] sniper@php.net
You should try the latest RC from here:

http://www.php.net/~zeev/php-4.1.0RC5.tar.gz

or wait 4.1.0 to be released which should happen real soon now.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 14:01:32 2025 UTC