#20083 [Bgs->Opn]: PHP build fails with GD 2.0.4
| From: | maddog2k at maddog2k dot nl | Date: | Fri, 25 Oct 2002 12:03:50 +0000 |
| Subject: | #20083 [Bgs->Opn]: PHP build fails with GD 2.0.4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23301@lists.php.net to get a copy of this message | ||
ID: 20083
User updated by: maddog2k@maddog2k.nl
Reported By: maddog2k@maddog2k.nl
-Status: Bogus
+Status: Open
Bug Type: GD related
Operating System: Linux RH 6.2 glibc 2.1.3
PHP Version: 4CVS-2002-10-25
New Comment:
GD 2.0.3 does build :)
Changelog GD 2.0.4:
gdIOCtx correctly calls gdFree rather than free
Previous Comments:
------------------------------------------------------------------------
[2002-10-25 06:51:49] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-10-25 06:48:12] maddog2k@maddog2k.nl
At least PHP 4.2.2 and above (including php4-STABLE-200210250300) fail
to build with GD 2.0.4
Making all in gd
make[2]: Entering directory
`/opt/install/APACHE/apache/php4-STABLE-200210250300/ext/gd'
make[3]: Entering directory
`/opt/install/APACHE/apache/php4-STABLE-200210250300/ext/gd'
gcc -I. -I/opt/install/APACHE/apache/php4-STABLE-200210250300/ext/gd
-I/opt/install/APACHE/apache/php4-STABLE-200210250300/main
-I/opt/install/APACHE/apache/php4-STABLE-200210250300
-I/opt/install/APACHE/apache/apache_1.3.27/src/include
-I/opt/install/APACHE/apache/apache_1.3.27/src/os/unix
-I/opt/install/APACHE/apache/php4-STABLE-200210250300/Zend
-I/usr/local/ssl/include -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/include/freetype2/freetype
-I/opt/install/APACHE/apache/imap/c-client
-I/usr/local/mysql/include/mysql
-I/opt/install/APACHE/apache/swf/dist/include
-I/opt/install/APACHE/apache/php4-STABLE-200210250300/ext/xml/expat
-I/opt/install/APACHE/apache/php4-STABLE-200210250300/TSRM -g -O2 -c
gd.c && touch gd.lo
gd_ctx.c: In function `_php_image_output_ctx':
In file included from gd.c:83:
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory
`/opt/install/APACHE/apache/php4-STABLE-200210250300/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/opt/install/APACHE/apache/php4-STABLE-200210250300/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/install/APACHE/apache/php4-STABLE-200210250300/ext'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20083&edit=1