Edit report at https://bugs.php.net/bug.php?id=64061&edit=1

 ID:                 64061
 User updated by:    stephencoxmail at gmail dot com
 Reported by:        stephencoxmail at gmail dot com
 Summary:            GD extension fails to build when png.h is not found
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            GD related
 Operating System:   Windows
 PHP Version:        5.4.11
 Block user comment: N
 Private report:     N

 New Comment:

GD can be build without the patch using the new deps-5.4 archive


Previous Comments:
------------------------------------------------------------------------
[2013-01-26 07:17:44] [email protected]

btw, you can also compile only using the SDK, it includes the compilation tools 
suite.

------------------------------------------------------------------------
[2013-01-26 07:17:08] [email protected]

You only need to copy the error here, not the full log.

------------------------------------------------------------------------
[2013-01-25 21:35:41] mirco dot babin at gmail dot com

Regarding my previous comment, I uploaded compilation.txt to pastebin. You can 
see 
it at http://pastebin.com/p07WQCAU

------------------------------------------------------------------------
[2013-01-25 21:20:37] mirco dot babin at gmail dot com

Configure now works correctly (without the patch). I downloaded the php 5.4.11 
sources and the php 5.4 dependencies. 

Unfortunately building PHP fails. I did build php 5.4.10 correctly.

Compilation is done using the steps provided in 
https://wiki.php.net/internals/windows/stepbystepbuild on:
- Windows/XP in a VirtualBox (fully updated)
- Microsoft Visual Studio 2008 Express
- Windows SDK 6.1 command prompt (don't use the Visual Studio command prompt, 
as 
it does not execute SETENV correctly)

call configure "--enable-snapshot-build" "--disable-isapi" "--disable-cgi" "--
enable-cli" "--disable-nsapi" "--disable-apache" "--disable-apache2-2filter" "--
disable-apache2-2handler" "--disable-embed" "--enable-cli-win32" "--enable-
debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--
enable-com-dotnet=shared" "--with-mcrypt=static" > configured.txt 2>&1

nmake snap > compilation.txt 2>&1

I don't know how to upload compilation.txt into this bug database. Pasting is 
refused (probably too big).

------------------------------------------------------------------------
[2013-01-25 20:49:44] [email protected]

We use libpng12. However we are adding libpng 1.5 support and we will allow 
both. 
The snaps and releases use the exact same dependencies, see 
http://windows.php.net/downloads/ (phpinfo shows you the configure line, if you 
like to reproduce).

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=64061


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64061&edit=1

Reply via email to