note 26708 deleted from ref.image by betz

From: Date: Mon, 12 Apr 2004 10:03:25 +0000
Subject: note 26708 deleted from ref.image by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68015@lists.php.net to get a copy of this message
Note Submitter: karpet@comatosed.co.uk ---- It would seem in version 2.0.4 of gd, there's been a change in the definition of struct gdIOCtx (defined in gd_io.h), which for me caused the following error: gd_ctx.c:70: structure has no member named `free' and similiar, relating errors from gd.c and gd_ctx.c, preventing me compiling php with gd support. The solution that appears to work without problems is to simply edit gd.c and gd_ctx.c (in ext/gd, in php's codetree), and replace all occurances of "->free" with "->gd_free".

« previous php.notes (#68015) next »