PHP 4.0 Bug #5523: Compilation crashes when compiling /ext/gd/gd.c looking for GIF support

From: Date: Wed, 12 Jul 2000 03:47:14 +0000
Subject: PHP 4.0 Bug #5523: Compilation crashes when compiling /ext/gd/gd.c looking for GIF support
Groups: php.dev 
Request: Send a blank email to php-dev+get-24157@lists.php.net to get a copy of this message
From: mark@tangent.net.au 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

« previous php.dev (#24157) next »