From:             [EMAIL PROTECTED]
Operating system: Redhat Linux
PHP version:      4.3.0-pre1
PHP Bug Type:     Compile Failure
Bug description:  PHP fails to compile with the GD library

I used the following configure line:
./configure --prefix=/opt/php --with-apxs=/opt/apache/bin/apxs
--with-mysql=/opt/mysql --with-gd=/opt/gd --enable-gd-native-ttf
--with-freetype-dir=/opt/freetype --with-ming=/opt/ming
--with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr

GD 2.0.4 is installed under /opt/gd

The error message:
In file included from /home/stefan/php-4.3.0pre1/ext/gd/gd.c:90:
/home/stefan/php-4.3.0pre1/ext/gd/gd_ctx.c: In function
`_php_image_output_ctx':
/home/stefan/php-4.3.0pre1/ext/gd/gd_ctx.c:70: structure has no member
named `free'
/home/stefan/php-4.3.0pre1/ext/gd/gd_ctx.c:98: structure has no member
named `free'
/home/stefan/php-4.3.0pre1/ext/gd/gd.c: In function `_php_image_type':
/home/stefan/php-4.3.0pre1/ext/gd/gd.c:1036: structure has no member named
`free'
/home/stefan/php-4.3.0pre1/ext/gd/gd.c:1039: structure has no member named
`free'
/home/stefan/php-4.3.0pre1/ext/gd/gd.c: In function
`_php_image_create_from':
/home/stefan/php-4.3.0pre1/ext/gd/gd.c:1216: structure has no member named
`free'

PHP 4.2.3 and the latest snapshot(200210240300) also fail to compile.
-- 
Edit bug report at http://bugs.php.net/?id=20059&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20059&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20059&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20059&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20059&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20059&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20059&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20059&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20059&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20059&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20059&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20059&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20059&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20059&r=isapi

Reply via email to