Php4 and GD

From: Date: Mon, 26 Feb 2001 22:43:07 +0000
Subject: Php4 and GD
Groups: php.general 
Request: Send a blank email to php-general+get-41752@lists.php.net to get a copy of this message
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

« previous php.general (#41752) next »