Bug #14318 Updated: Can't Compile PHP 4.06 With GD2
| From: | sniper@php.net | Date: | Mon, 03 Dec 2001 18:50:34 +0000 |
| Subject: | Bug #14318 Updated: Can't Compile PHP 4.06 With GD2 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72362@lists.php.net to get a copy of this message | ||
ID: 14318
Updated by: sniper
Reported By: justin@somnioworld.com
Status: Closed
Bug Type: GD related
Operating System: FreeBSD 4.2
PHP Version: 4.0.6
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2001-12-03 12:33:44] justin@somnioworld.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 04:10:22] sniper@php.net
Fixed in CVS.
--Jani
------------------------------------------------------------------------
[2001-12-03 00:26:38] justin@somnioworld.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.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14318&edit=1