From:             [EMAIL PROTECTED]
Operating system: Linux RedHat 7.2 Kernel: 2.4.19
PHP version:      4.2.3
PHP Bug Type:     GD related
Bug description:  GD 2.0.4 doesn't compile with PHP 4.2.3

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 bug report at http://bugs.php.net/?id=20176&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20176&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20176&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20176&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20176&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20176&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20176&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20176&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20176&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20176&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20176&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20176&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20176&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20176&r=isapi

Reply via email to