From:             markus at cultcom dot de
Operating system: Linux, Debian 3.0 woody
PHP version:      4.3.4
PHP Bug Type:     Compile Failure
Bug description:  problem with gdft.c

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 bug report at http://bugs.php.net/?id=26450&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26450&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26450&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26450&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26450&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26450&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26450&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26450&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26450&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26450&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26450&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26450&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26450&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26450&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26450&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26450&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26450&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26450&r=float

Reply via email to