Re: Bug #13786 Updated: New GD version not support GIF images.
| From: | Jani Taskinen | Date: | Tue, 23 Oct 2001 08:25:01 +0000 |
| Subject: | Re: Bug #13786 Updated: New GD version not support GIF images. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68769@lists.php.net to get a copy of this message | ||
..and I need obviously more coffee..
--Jani
On Tue, 23 Oct 2001, Jani Taskinen wrote:
>
>True. But it checks for the .h file. Not for the library.
>And sets the path for the lib based on that..
>Why? :)
>
>--Jani
>
>
>
>On 23 Oct 2001 hholzgra@php.net wrote:
>
>>ID: 13786
>>Updated by: hholzgra
>>Reported By: akss@nest.net
>>Status: Bogus
>>Bug Type: GD related
>>Operating System: All
>>PHP Version: 4.0.6
>>New Comment:
>>
>>
>>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 ....
>>
>>
>>Previous Comments:
>>------------------------------------------------------------------------
>>
>>[2001-10-22 18:15:58] 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-22 14:36:37] hholzgra@php.net
>>
>>sure? i think ext/gd/config.m4 is to blame (once again)
>>
>>------------------------------------------------------------------------
>>
>>[2001-10-22 14:30:31] sniper@php.net
>>
>>Not a PHP problem. Ask support questions on the mailing
>>lists: http://www.php.net/support.php
>>
>>
>>------------------------------------------------------------------------
>>
>>[2001-10-22 08:53:18] 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 08:34:28] akss@nest.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
>>...
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>
>>Edit this bug report at
>>http://bugs.php.net/?id=13786&edit=1
>>
>>
>>
>
>
>