From: [EMAIL PROTECTED] Operating system: FreeBSD 4.7-STABLE PHP version: 4.3.0-pre1 PHP Bug Type: GD related Bug description: Error while compile PHP with GD 2.04
I have downloaded last PHP version: php4-STABLE-200210270600 My configure line is: ./configure --cache-file=/dev/null --enable-sockets --enable-gd-native-ttf --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-pgsql=/usr/local/pgsql --with-freetype-dir=/usr/local --with-t1lib=/usr/local --with-zlib=/usr/local --without-mysql --with-apache=../apache_1.3.27 --enable-track-vars configure has passed successfully When I try to "make", I have received the following error string In file included from gd.c:83: gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:70: structure has no member named `free' gd_ctx.c:98: structure has no member named `free' gd.c: In function `_php_image_type': gd.c:1014: structure has no member named `free' gd.c:1017: structure has no member named `free' gd.c: In function `_php_image_create_from': gd.c:1209: structure has no member named `free' *** Error code 1 Stop in /usr/distfiles/php4-STABLE-200210270600/ext/gd. *** Error code 1 Stop in /usr/distfiles/php4-STABLE-200210270600/ext/gd. *** Error code 1 Stop in /usr/distfiles/php4-STABLE-200210270600/ext. *** Error code 1 Stop in /usr/distfiles/php4-STABLE-200210270600. My version og GD is latest - 2.04 !!! (pay your attention) In gd.c in header "This source file is subject to version 2.02 of the PHP ..." You know about latest release GD 2.04? -- Edit bug report at http://bugs.php.net/?id=20122&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20122&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20122&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20122&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20122&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20122&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20122&r=support Expected behavior: http://bugs.php.net/fix.php?id=20122&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20122&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20122&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20122&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20122&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20122&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20122&r=isapi