ID: 12945
Updated by: sniper
Old Status: Open
Status: Bogus
Bug Type: GD related
Operating System: FreeBSD 4.3
PHP Version: 4.0.6
New Comment:

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.

Previous Comments:

[2001-08-24 08:28:41] [EMAIL PROTECTED]

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.

Chris Knight


Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to