Bug report - GD library 1.3 with 4.3.5 and 4.3.6RC1

From: Date: Fri, 02 Apr 2004 13:55:33 +0000
Subject: Bug report - GD library 1.3 with 4.3.5 and 4.3.6RC1
Groups: php.qa 
Request: Send a blank email to php-qa+get-16115@lists.php.net to get a copy of this message
Can't get through to bugs.php.net, so please accept following bug report. Compile fails with GD library version 1.3 (the one that supports read/write .gif images) Configures OK using... ./configure' \ > '--with-apxs2=/usr/local/apache2/bin/apxs' \ > '--with-mysql=/usr/local/mysql' \ > '--with-ldap' \ > '--with-imap=/usr/local' \ > '--with-imap-ssl=/etc/ssl' \ > '--with-ttf' \ > '--with-gd=/usr/local' \ > '--with-pdflib=/usr/local' \ > '--with-xsl' \ > '--enable-wddx' \ > '--with-mssql=/usr/local/freetds' \ > '--with-oci8' \ > '--with-openssl' \ > '--disable-short-tags' \ > '--with-openssl' \ > '--with-zlib' \ > '--with-curl' \ > '--with-mime-magic' \ > '--with-mcrypt' \ > '--with-pspell'using Compile fails with ... ext/gd/gd.lo(.text+0x1346): In function `_php_image_output': /usr/local/src/php-4.3.6RC1/ext/gd/gd.c:1626: undefined reference to `gdImageWBMP' ext/gd/gd.lo(.text+0x1482):/usr/local/src/php-4.3.6RC1/ext/gd/gd.c:1673: undefined reference to `gdImageWBMP' NB gdImageWBMP is not present in the GD 1.3 library. To compile against the GD 1.3 library, some code in ext/gd/gd.c needs to be conditional on HAVE_GD_WBMP Suggested patch attached (against ext/gd/gd.c in 4.3.6RC1 version) but please note that this was a quick attempt to fix the problem and may not be a complete solution. It seems to work for me, though :-) This problem was not present in 4.3.5RC3, but is present in the 4.3.5 release version and can be fixed the same way. I'm not on this list, so please reply direct if you want to follow up with me. HTH - Nick -- Nick Talbott, Powys County Council, UK IT Policy and Strategy Manager/Rheolwr Polisi a Chynllunio TGCh email: nick.talbott@powys.gov.uk fax: 01597 824781 web: www.powys.gov.uk

Attachment: [text/x-diff] gd.c.patch
« previous php.qa (#16115) next »