ID: 26450 Updated by: [EMAIL PROTECTED] Reported By: markus at cultcom dot de -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: Linux, Debian 3.0 woody PHP Version: 4.3.4 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2003-11-28 12:21:37] 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! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26450&edit=1