Im trying to get GD to work on my box and i keep getting 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'

etc...............

If i remove the following line from the Makefile        

-DHAVE_LIBTTF and -lttf

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'

but when i try to execute a php script with imagettfbbox() i get:

"Call to unsupported or undefined function imagettfbbox()'

Any help on or off the list 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]

Reply via email to