ID: 46015 Comment by: karsten at typo3 dot org Reported By: Fedora at FamilleCollet dot com Status: Assigned Bug Type: GD related Operating System: Linux (Fedora 9) PHP Version: 5.3.0alpha2 Assigned To: pajoye New Comment:
I had the same issue yesterday and switched to the bundled GD to make it compile. Now, it would be interesting to know what functionality difference this means and what the other issue is, this is related to. Previous Comments: ------------------------------------------------------------------------ [2008-09-08 10:57:48] [EMAIL PROTECTED] This patch is not correct as then the function defined in gdhelper.h will not be defined and the default signature will be used. please do not apply it, I will fix the issue while working on another similar issue in gd. ------------------------------------------------------------------------ [2008-09-08 10:26:57] [EMAIL PROTECTED] Had the same problem and came up with similar fix. Would someone apply this patch to CVS? My karma is not sufficient. ------------------------------------------------------------------------ [2008-09-07 07:21:45] Fedora at FamilleCollet dot com Description: ------------ Build fails when trying to use system GD --with-gd=shared,/usr This is because gdhelpers only provided by bundled library. Trivial patch proposal : --- ext/gd/gd.c.orig 2008-09-07 08:53:38.000000000 +0200 +++ ext/gd/gd.c 2008-09-07 08:54:03.000000000 +0200 @@ -74,7 +74,9 @@ #include <gdfontmb.h> /* 3 Medium bold font */ #include <gdfontl.h> /* 4 Large font */ #include <gdfontg.h> /* 5 Giant font */ +#if HAVE_GD_BUNDLED #include <gdhelpers.h> +#endif #ifdef HAVE_GD_WBMP #include "libgd/wbmp.h" Reproduce code: --------------- make Expected result: ---------------- Build complete. Actual result: -------------- Build failed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46015&edit=1