#21048 [Opn->Bgs]: Fails to detect lack of GIF support
ID: 21048
Updated by: iliaa@php.net
Reported By: wildfyr9@hotmail.com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Cobalt Linux
PHP Version: 4.2.3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
If you must use GD 1.X use 1.8.4, PHP 4.3.0 already comes with bundled
GD library that has been tested & works properly.
Previous Comments:
------------------------------------------------------------------------
[2002-12-16 11:08:55] wildfyr9@hotmail.com
configure does not properly detect lack of GIF support in libgd 1.2
shipped on Cobalt RaQ4 servers. This can be easily fixed AFTER config
is run by applying this patch to main/php_config.h:
*** main/php_config.h.4.2.3 Mon Dec 16 18:02:12 2002
--- main/php_config.h Mon Dec 16 18:03:10 2002
***************
*** 1204,1213 ****
/* #undef HAVE_GD_PNG */
/* */
! #define HAVE_GD_GIF_READ 1
/* */
! #define HAVE_GD_GIF_CREATE 1
/* */
/* #undef HAVE_GD_WBMP */
--- 1204,1213 ----
/* #undef HAVE_GD_PNG */
/* */
! /* #undef HAVE_GD_GIF_READ 1 */
/* */
! /* #undef HAVE_GD_GIF_CREATE 1 */
/* */
/* #undef HAVE_GD_WBMP */
PHP was configured with this:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --enable-safe-mode
--with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib
--enable-magic-quotes --with-regex=system --enable-track-vars
--with-iconv --enable-xml --disable-debug --with-gd --enable-mbstring
--enable-mbstr-enc-trans --with-interbase=shared --with-pgsql=shared
--with-ldap --with-imap --with-mysql=/usr
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21048&edit=1
Thread (2 messages)