Re: com php-src: gd: missing comma: ext/gd/config.m4
| From: | Christopher Jones | Date: | Sun, 05 May 2013 05:48:34 +0000 |
| Subject: | Re: com php-src: gd: missing comma: ext/gd/config.m4 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-72126@lists.php.net to get a copy of this message | ||
On 5/4/13 9:52 PM, Remi Collet wrote:
Thanks - that fixes the buildconf problem. Now the build is failing with: In file included from /usr/include/png.h:371,Commit: 54d6f8b34e20f58a9b2d5e0986480f8b6e1280fa Author: Remi Collet <remi@php.net> Sun, 5 May 2013 06:52:28 +0200Parents: 2ab270011dfcbfea8e39374f546d6ced653059b5 Branches: PHP-5.5 masterLink: http://git.php.net/?p=php-src.git;a=commitdiff;h=54d6f8b34e20f58a9b2d5e0986480f8b6e1280faLog: gd: missing comma Changed paths: M ext/gd/config.m4
from /home/cjones/php-5.5/ext/gd/gd.c:57:/usr/include/pngconf.h:336: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token /usr/include/pngconf.h:337: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘include’ make: *** [ext/gd/gd.lo] Error 1 This is on Oracle Linux 5.9 x64. PHP 5.4 builds OK with the same configuration. I notice PHP 5.4's gd.c has a comment about not including png.h. Chris -- christopher.jones@oracle.com http://twitter.com/ghrd Newly updated, free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html