Bug #12945 Updated: GD 1.8.4 still has gdImageCreateFromGif but not gdImageGif

From: Date: Fri, 24 Aug 2001 18:38:07 +0000
Subject: Bug #12945 Updated: GD 1.8.4 still has gdImageCreateFromGif but not gdImageGif
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64268@lists.php.net to get a copy of this message
ID: 12945 Updated by: sniper Reported By: chris@aims.com.au Old Status: Bogus Status: Closed Bug Type: GD related Operating System: FreeBSD 4.3 PHP Version: 4.0.6 New Comment: Sorry. I read this report too quickly. Fixed now in CVS. Thanks for reporting this. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-08-24 10:20:14] 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 08:28:41] chris@aims.com.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 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12945&edit=1

« previous php.dev (#64268) next »