PHP 4.0 Bug #7018: The error on gd.c
| From: | jeans118 at hotmail dot com | Date: | Wed, 04 Oct 2000 20:24:18 +0000 |
| Subject: | PHP 4.0 Bug #7018: The error on gd.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34218@lists.php.net to get a copy of this message | ||
From: jeans118@hotmail.com
Operating system: RedHat6.2 with kernel 2.2.14
PHP version: 4.0.2
PHP Bug Type: Compile Failure
Bug description: The error on gd.c
Already try to install it without MySQL support but got the following error after running make and
make install.
/bin/sh /usr/local/php-4.0.2/libtool --silent --mode=compile gcc -I. -I/usr/lo
cal/php-4.0.2/ext/gd -I/usr/local/php-4.0.2 -I/usr/local/php-4.0.2/main -I/usr/
local/apache/include -I/usr/local/php-4.0.2/Zend -I/usr/local/php-4.0.2 -I/usr/
local/php-4.0.2/ext/mysql/libmysql -I/usr/local/php-4.0.2/ext/xml/expat/xmltok
-I/usr/local/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c
gd.c
gd.c: In function `php_if_imagecreatefromgif':
gd.c:500: `gdImageCreateFromGif' undeclared (first use in this function)
gd.c:500: (Each undeclared identifier is reported only once
gd.c:500: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:657: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/php-4.0.2/ext/gd'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/php-4.0.2/ext/gd'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.2/ext'
make: *** [install-recursive] Error 1
[root@hostname php-4.0.2]#
After that, no php module is given out to apache/libexec. I can install with
php-4.0.0 but not succeed for the php-4.0.2.
Anyone knows what did I missed?
I have configure it with apxs of apache only without MySQL.
thx
Jeans