From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.2.3 PHP Bug Type: Compile Failure Bug description: Unable to compile php with most recent version of GD
Installed gd-2.0.4. Went and configured php with all flags needed: "./configure --with-apache=../apache_1.3.27 --enable-track-vars --with-imap=/usr/local/src/imap-4.7c --enable-sockets --with-mysql=/usr/local --enable-dbase --with-curses --enable-ftp --with-gd=/usr/local --enable-gd-native-ttf --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-freetype-dir=/usr/local --with-t1lib --with-zlib-dir=/usr" Then compiled fine until it got to the ~/php-4.2.3/ext/gd/gdctx.c and ~/php-4.2.3/ext/gd/gd.c Mentioned something about the gdIOCtx structure not having a member named 'free' so I looked at the gd_io.h in /usr/include and saw that there was no free member, but there was a gd_free. I renamed it in the above mentioned files and everything compiled and appears to be working fine. -- Edit bug report at http://bugs.php.net/?id=20076&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20076&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20076&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20076&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20076&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20076&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20076&r=support Expected behavior: http://bugs.php.net/fix.php?id=20076&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20076&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20076&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20076&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20076&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20076&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20076&r=isapi