Bug #64061 [NEW]: GD extension fails to build when png.h is not found
| From: | stephencoxmail at gmail dot com | Date: | Thu, 24 Jan 2013 10:44:38 +0000 |
| Subject: | Bug #64061 [NEW]: GD extension fails to build when png.h is not found | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-176216@lists.php.net to get a copy of this message | ||
From: stephencoxmail at gmail dot com
Operating system: Windows
PHP version: 5.4.11
Package: GD related
Bug Type: Bug
Bug description:GD extension fails to build when png.h is not found
Description:
------------
When building PHP on Windows the GD extension fails to build. The problem
is that
the config.w32 searches for png.h in include/libpng12 instead of
include/libpng.
The dependencies was downloaded from http://windows.php.net/downloads/php-
sdk/deps-5.4-vc9-x86.7z
Test script:
---------------
configure --enable-mailparse=shared --enable-http=shared --with-mysqlnd
--with-mysql --disable-com-dotnet --disable-ftp --disable-odbc
--without-wddx --disable-cgi --enable-mbstring --enable-fileinfo=shared
--with-imap=shared --enable-apc --enable-apc-srwlock-native
--enable-apache2-2handler --with-mcrypt --enable-soap=shared
--with-openssl=shared --enable-intl=shared --with-curl --with-mysqli
--with-xmlrpc
Expected result:
----------------
The GD extension is supposed to be configured
Actual result:
--------------
The GD extension fails to be configured
--
Edit bug report at https://bugs.php.net/bug.php?id=64061&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64061&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64061&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64061&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64061&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64061&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64061&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64061&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64061&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64061&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64061&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64061&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64061&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64061&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64061&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64061&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64061&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64061&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64061&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64061&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64061&r=mysqlcfg