note 26708 added to ref.image

From: Date: Sat, 09 Nov 2002 22:32:24 +0000
Subject: note 26708 added to ref.image
Groups: php.notes 
Request: Send a blank email to php-notes+get-39241@lists.php.net to get a copy of this message
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". -- http://www.php.net/manual/en/ref.image.php http://master.php.net/manage/user-notes.php?action=edit+26708 http://master.php.net/manage/user-notes.php?action=delete+26708 http://master.php.net/manage/user-notes.php?action=reject+26708

« previous php.notes (#39241) next »