#21030 [Opn->Csd]: Compiling PHP fails with GD 2.0.8 and above

From: Date: Sun, 15 Dec 2002 22:16:57 +0000
Subject: #21030 [Opn->Csd]: Compiling PHP fails with GD 2.0.8 and above
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27796@lists.php.net to get a copy of this message
ID: 21030 Updated by: derick@php.net Reported By: phpbug@spambox.dk -Status: Open +Status: Closed Bug Type: GD related Operating System: FreeBSD 4.7 PHP Version: 4.3.0RC3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-12-15 16:15:11] phpbug@spambox.dk Bug #20228 still exist in 4.3.0RC3 Please fix this before 4.3.0 final. Compiling PHP fails with GD 2.0.8 and above: -- cut /bin/sh libtool --silent --mode=compile gcc -I/usr/local/include -Iext/gd/ -I/home/test/src/essentials/php-4.3.0RC3/ext/gd/ -DPHP_ATOM_INC -I/home/test/src/essentials/php-4.3.0RC3/include -I/home/test/src/essentials/php-4.3.0RC3/main -I/home/test/src/essentials/php-4.3.0RC3 -I/home/test/src/essentials/php-4.3.0RC3/Zend -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/mysql/include/mysql -I/usr/local/include/ucd-snmp -DMOD_SSL=208112 -DEAPI -DUSE_EXPAT -DSHARED_CORE -I/home/test/src/essentials/php-4.3.0RC3/TSRM -g -O2 -prefer-pic -c /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c -o ext/gd/gd.lo In file included from /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:89: /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd_ctx.c: In function `_php_image_output_ctx': /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd_ctx.c:73: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd_ctx.c:105: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_type': /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1156: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1163: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c: In function `_php_image_create_from': /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1345: structure has no member named `free' /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1363: warning: assignment makes pointer from integer without a cast /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c: In function `zif_imagecreatefromxpm': /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1433: `gdImageCreateFromXpm' undeclared (first use in this function) /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1433: (Each undeclared identifier is reported only once /home/test/src/essentials/php-4.3.0RC3/ext/gd/gd.c:1433: for each function it appears in.) gmake: *** [ext/gd/gd.lo] Error 1 -- cut You can see a describtion of the problem including patch and a new GD function on: http://www.boutell.com/gd/phppatch.html Best regards Henrik ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21030&edit=1

« previous php.bugs (#27796) next »