#20176 [Opn->Csd]: GD 2.0.4 doesn't compile with PHP 4.2.3
| From: | derick@php.net | Date: | Wed, 30 Oct 2002 20:33:20 +0000 |
| Subject: | #20176 [Opn->Csd]: GD 2.0.4 doesn't compile with PHP 4.2.3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23743@lists.php.net to get a copy of this message | ||
ID: 20176
Updated by: derick@php.net
Reported By: nicke@nicke.nu
-Status: Open
+Status: Closed
Bug Type: GD related
Operating System: Linux RedHat 7.2 Kernel: 2.4.19
PHP Version: 4.2.3
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-10-30 14:32:39] nicke@nicke.nu
GD 2.0.4 doesn't compile with PHP 4.2.3. I get these errors when
trying. I have the JPEG, PNG and FreeType libraries installed.
Configure options:
/configure --with-mysql --with-apache=../apache_1.3.27
--enable-track-vars --with-gd=/home/nicke/gd-2.0.4 --enable-exif
--enable-gd-native-tt --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib
--with-zlib --enable-gd-imgstrttf --with-freetype-dir=/usr/lib
--with-t1lib=/usr/local/lib --with-xml
-I/home/nicke/apache_1.3.27/src/os/unix -I/home/nicke/php-4.2.3/Zend
-I/usr/include/freetype2/freetype -I/usr/local/include
-I/home/nicke/gd-2.0.1/ -I/home/nicke/php-4.2.3/ext/mysql/libmysql
-I/home/nicke/php-4.2.3/ext/xml/expat -I/home/nicke/php-4.2.3/TSRM -g
-O2 -c gd.c && touch gd.lo
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1627: structure has no member named `tpixels'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/nicke/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nicke/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nicke/php-4.2.3/ext'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20176&edit=1