php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13786 New GD version not support GIF images.
Submitted: 2001-10-22 08:34 UTC Modified: 2001-10-23 04:18 UTC
From: akss at nest dot net Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.0.6 OS: All
Private report: No CVE-ID: None
 [2001-10-22 08:34 UTC] akss at nest dot net
New GD version 1.8.4 not support Gif images. 
ext/gd/gd.c not know about this yet and want create Gif images.

Configure line:
./configure --with-apxs=apxs  --prefix=/home/akss/work/psa/release//usr/local/psa/apache    --with-system-regex  --with-config-file-path=/usr/local/psa/apache/conf  --disable-debug  --disable-pear  --enable-sockets --enable-track-vars --with-mysql=/home/akss/work/psa/release/dist/usr/local/psa/mysql  --with-iodbc=/home/akss/work/psa/release/lib/libiodbc --with-imap=/home/akss/work/psa/release/lib/imap-cclient --with-gd=/home/akss/work/psa/release/lib/gd


Was getted compilation error:
[akss@goody gd]$ pmake
/bin/sh /home/akss/work/psa/apache/work/php/libtool --silent --mode=compile gcc  -I. -I/home/akss/work/psa/apache/work/php/ext/gd -I/home/akss/work/psa/apache/work/php/main -I/home/akss/work/psa/apache/work/php -I/home/akss/work/psa/release/lib/libiodbc/include -I/home/akss/work/psa/release/dist/usr/local/psa/apache/include -I/home/akss/work/psa/apache/work/php/Zend -I/home/akss/work/psa/release/lib/gd/include/gd -I/home/akss/work/psa/release/lib/imap-cclient/include -I/home/akss/work/psa/release/dist/usr/local/psa/mysql/include/mysql -I/home/akss/work/psa/release/lib/libiodbc/include -I/home/akss/work/psa/apache/work/php/ext/xml/expat/xmltok -I/home/akss/work/psa/apache/work/php/ext/xml/expat/xmlparse -I/home/akss/work/psa/apache/work/php/TSRM  -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208103 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c gd.c
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
...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-22 08:53 UTC] hholzgra@php.net
the gd extension is aware of this and will only use image formats supported by your installed gd

what might happen in your case is that you have
an older GD version or at least its header files
installed in a default path like /usr aka. /usr/include
so that the test compilation done by configure uses
these instead of those in the path you gave in the
--with-gd option ?
 [2001-10-22 14:30 UTC] sniper@php.net
Not a PHP problem. Ask support questions on the mailing 
lists: http://www.php.net/support.php

 [2001-10-22 14:36 UTC] hholzgra@php.net
sure? i think ext/gd/config.m4 is to blame (once again)
 [2001-10-22 18:15 UTC] sniper@php.net
No it's not. Unless you can point out where it's broken,
keep this bogus. The real problem is that there are
two different versions of gd lib installed in this system.
We can't check for everything in the configure. 

--Jani

 [2001-10-23 04:18 UTC] hholzgra@php.net
as configure was told which to use by

  --with-gd=/home/akss/work/psa/release/lib/gd

i think it should be able to figure out
which is which ....

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC