php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26450 problem with gdft.c
Submitted: 2003-11-28 12:21 UTC Modified: 2003-11-28 13:09 UTC
From: markus at cultcom dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.4 OS: Linux, Debian 3.0 woody
Private report: No CVE-ID: None
 [2003-11-28 12:21 UTC] markus at cultcom dot de
Description:
------------
PHP 4.3.x does not compile with libgd 2.0.15 and freetype 2.1.7!
I always get the error:
/usr/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24: #error "  #include FT_FREETYPE_H"
make: *** [ext/gd/libgd/gdft.lo] Error 1


Reproduce code:
---------------
debian:# cd ext/gd/libgd
debian:# diff gdft.c.orig gdft.c
62a63
> #include <ft2build.h>
debian:#

With this include it works!


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-28 13:09 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Aug 17 09:01:28 2024 UTC