[PHP-DEV] PHP 4.0 Bug #5523: Compilation crashes when compiling /ext/gd/gd.c looking for GIF support From: mark <email protected>
Date: 07/11/00

From: mark <email protected>
Operating system: RedHat Linux 6.2 (kernel 2.2.12)
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: Compilation crashes when compiling /ext/gd/gd.c looking for GIF support

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>