I am trying to get GD and FreeType 2 to work with php so i can do dynamic images from ttf fonts. I am running the following: FreeBSD 4.1 Php version 4.0.4pl1 FreeType Version 2 from http://freetype.sourceforge.net gd 1.8.4 from http://www.boutell.com/gd/ i installed libpng per gd's requirements. i compiled freetype2 first and got no errors. I had to edit the Makefile in the gd directory to include the following path: -I/usr/local/include/freetype2/freetype then i get the following errors: gdttf.c:66: syntax error before `TT_Engine' gdttf.c:72: syntax error before `TT_Matrix' gdttf.c:81: syntax error before `TT_Engine' gdttf.c:87: syntax error before `TT_Glyph' gdttf.c: In function `fontFetch': gdttf.c:326: syntax error before `err' gdttf.c:339: structure has no member named `engine' the list goes on........ So i edited the Makefile again and removed: -DHAVE_LIBTTF and -lttf and it compiles fine. I recompiled php with: './configure' '--with-mysql=/usr/local/mysql' '--with-xml' '--with-apache=../apache_1.3.17' '--enable-track-vars' '--with-gd=/usr/local/include/gd' '--with-zlib=/usr/local/lib' '--with-ttf=/usr/local/include/freetype2/freetype' and it compiled fine so did apache, but when i try to execute a php script with imagettfbbox() i get: Call to unsupported or undefined function imagettfbbox() Any help at all will be greatly appreciated. Thanks Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]