Bug #66198 [NEW]: gd extension fails to build with freetype 2.5.1
| From: | php-bugs-2013 at ryandesign dot com | Date: | Fri, 29 Nov 2013 06:29:44 +0000 |
| Subject: | Bug #66198 [NEW]: gd extension fails to build with freetype 2.5.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-183001@lists.php.net to get a copy of this message | ||
From: php-bugs-2013 at ryandesign dot com
Operating system: OS X 10.9
PHP version: 5.5.6
Package: GD related
Bug Type: Bug
Bug description:gd extension fails to build with freetype 2.5.1
Description:
------------
With freetype 2.5.1, configuring php's gd extension fails to find
freetype.h. This was reported to the MacPorts project here:
https://trac.macports.org/ticket/41585
The problem occurs because you're looking for the file here:
$PHP_FREETYPE_DIR/include/freetype2/freetype/freetype.h
but that's not where that file is located anymore as of freetype
2.5.1.
The freetype CHANGES file says, in part:
CHANGES BETWEEN 2.5 and 2.5.1
...
II. IMPORTANT CHANGES
...
- The header file layout has been changed. After installation,
all files are now located in `<prefix>/include/freetype2'.
Applications that use (a) `freetype-config' or FreeType's
`pkg-config' file to get the include directory for the compiler,
and (b) the documented way for header inclusion like
#include <ft2build.h>
#include FT_FREETYPE_H
...
don't need any change to the source code.
Bug #64405 requests you use pkg-config to find freetype.
--
Edit bug report at https://bugs.php.net/bug.php?id=66198&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66198&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66198&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66198&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66198&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66198&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66198&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66198&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66198&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66198&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66198&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66198&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66198&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66198&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66198&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66198&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66198&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66198&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66198&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66198&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66198&r=mysqlcfg