#20938 [NEW]: Error compiling php with newer version (i.e. 2.0.6) of gdlib
| From: | klaus dot braun at geographie dot uni-freiburg dot de | Date: | Wed, 11 Dec 2002 15:09:51 +0000 |
| Subject: | #20938 [NEW]: Error compiling php with newer version (i.e. 2.0.6) of gdlib | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-27349@lists.php.net to get a copy of this message | ||
From: klaus.braun@geographie.uni-freiburg.de
Operating system: Solaris 8
PHP version: 4.2.3
PHP Bug Type: GD related
Bug description: Error compiling php with newer version (i.e. 2.0.6) of gdlib
Newer versions of gdlib (I am using version 2.0.6) use
*gd_free in structure gdIOCtx* instead of *free. So in
gd_ctx.c on lines 70 and 98 one has to use
ctx->gd_free = _php_image_output_ctxfree;
and
ctx->gd_free(ctx);
instead of
ctx->free = _php_image_output_ctxfree;
and
ctx->free(ctx);
The same applies to gd.c on lines 1014, 1017 and 1209.
--
Edit bug report at http://bugs.php.net/?id=20938&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20938&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20938&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20938&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20938&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20938&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20938&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20938&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20938&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20938&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20938&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20938&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20938&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20938&r=isapi