#46015 [Asn]: Build fails with system gd.
| From: | pajoye@php.net | Date: | Mon, 08 Sep 2008 10:57:48 +0000 |
| Subject: | #46015 [Asn]: Build fails with system gd. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128769@lists.php.net to get a copy of this message | ||
ID: 46015
Updated by: pajoye@php.net
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:
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.
Previous Comments:
------------------------------------------------------------------------
[2008-09-08 10:26:57] spheroid@php.net
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