Bug #14318: Can't Compile PHP 4.06 With GD2
| From: | justin at somnioworld dot com | Date: | Mon, 03 Dec 2001 05:26:39 +0000 |
| Subject: | Bug #14318: Can't Compile PHP 4.06 With GD2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-72304@lists.php.net to get a copy of this message | ||
From: justin@somnioworld.com
Operating system: FreeBSD 4.2
PHP version: 4.0.6
PHP Bug Type: Compile Failure
Bug description: Can't Compile PHP 4.06 With GD2
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 bug report at: http://bugs.php.net/?id=14318&edit=1