From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.3
PHP version:      4.0.6
PHP Bug Type:     GD related
Bug description:  GD 1.8.4 still has gdImageCreateFromGif but not gdImageGif

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

Thanks for the only decent Web development tool.

Chris Knight
Edit 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