php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5523 Compilation crashes when compiling /ext/gd/gd.c looking for GIF support
Submitted: 2000-07-11 23:47 UTC Modified: 2000-07-20 19:28 UTC
From: mark at tangent dot net dot au Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: RedHat Linux 6.2 (kernel 2.2.12)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mark at tangent dot net dot au
New email:
PHP Version: OS:

 

 [2000-07-11 23:47 UTC] mark at tangent dot net dot au
Latest version of gd (1.8.3) doesn't support GIF anymore, and translates GIF calls into PNG calls.

PHP configure script checks for the presence of gdImageCreateFromGif in the gd library to determine whether to enable GIF support.

Since GIF calls are translated to PNG calls, this function will exist, and PHP mistakenly attempts to add GIF support.

Simple solution for me was to mod the configure script to look for GOATgdImageCreateFromGif, which obviously doesn't exist :)

Configure line:

./configure --with-oracle --with-oci8 --enable-trac-vars --with-apxs=/usr/local/apache/bin/apxs --with-zlib-dir --with-gd --with-jpeg-dir --with-ttf --with-mysql=/usr/local/mysql  

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-20 19:28 UTC] sterling at cvs dot php dot net
The problem is that you haven't completely uninstalled gd1.3, completely uninstall gd1.3 then it will work.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 08:00:01 2026 UTC