From:             [EMAIL PROTECTED]
Operating system: Cobalt Linux
PHP version:      4.2.3
PHP Bug Type:     Compile Failure
Bug description:  Fails to detect lack of GIF support

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 bug report at http://bugs.php.net/?id=21048&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21048&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21048&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21048&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21048&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21048&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21048&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21048&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21048&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21048&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21048&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21048&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21048&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21048&r=isapi

Reply via email to