PHP 4.0 Bug #7018 Updated: The error on gd.c
| From: | Bug Database | Date: | Fri, 06 Oct 2000 12:33:24 +0000 |
| Subject: | PHP 4.0 Bug #7018 Updated: The error on gd.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34348@lists.php.net to get a copy of this message | ||
ID: 7018
Updated by: sniper
Reported By: jeans118@hotmail.com
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:
Please include your configure line for php 4 into this bug report.
And if you do not have any need for GD extension you can disable
it with --without-gd
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-04 16:24:18] jeans118@hotmail.com
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7018