php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12945 GD 1.8.4 still has gdImageCreateFromGif but not gdImageGif
Submitted: 2001-08-24 08:28 UTC Modified: 2001-08-24 14:38 UTC
From: chris at aims dot com dot au Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.6 OS: FreeBSD 4.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chris at aims dot com dot au
New email:
PHP Version: OS:

 

 [2001-08-24 08:28 UTC] chris at aims dot com dot au
I'm building PHP4 4.0.6 from the FreeBSD ports tree and enabling GD support. The version of GD in the FreeBSD ports tree is 1.8.4.
The problem I'm having is that PHP fails to build correctly. I've tracked it down to the fact that GD 1.8.4 still has the source for gdImageCreateFromGif and gdImageCreateFromGifCtx, but the definitions have been removed from gd.h. Some no-so-clever person decided to add the function definitions for these functions. This introduces the side effect that PHP4's configure goes looking for these function definitions, then assumes that gdImageGif is defined when used in ext/gd/gd.c, function PHP_FUNCTION(imagegif), line 1404.
I'm going to log this bug with FreeBSD ports, but it might be best to explicitly check for gdImageGif, rather than the function prototypes for gdImageCreateFromGif.

Thanks for the only decent Web development tool.

Regards,
Chris Knight

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-24 10:20 UTC] sniper@php.net
Nothing wrong with the configure. You just have conflicting
versions of GD library in your system. Remove all of them
and reinstall it. Do the same for PHP.

 [2001-08-24 14:38 UTC] sniper@php.net
Sorry. I read this report too quickly. Fixed now in CVS.
Thanks for reporting this.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 10:01:29 2024 UTC