#46015 [NEW]: Build fails with system gd.
| From: | Fedora at FamilleCollet dot com | Date: | Sun, 07 Sep 2008 07:21:45 +0000 |
| Subject: | #46015 [NEW]: Build fails with system gd. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-128741@lists.php.net to get a copy of this message | ||
From: Fedora at FamilleCollet dot com
Operating system: Linux (Fedora 9)
PHP version: 5.3.0alpha2
PHP Bug Type: GD related
Bug description: Build fails with system gd.
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 bug report at http://bugs.php.net/?id=46015&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46015&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46015&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46015&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46015&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=46015&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46015&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46015&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46015&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46015&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46015&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46015&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46015&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46015&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46015&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46015&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46015&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46015&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46015&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46015&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46015&r=mysqlcfg