Thanks Rasmus... You have pointed me in the right direction....upon further inspection of my config.status I see that gdImageStringFTEX=no, and looking in the config.log I found...
configure:21579: checking for gdImageStringFTEx in -lgd configure:21598: gcc -o onftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/u sr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -L/usr/local/lib/gcc-lib/sp arc-sun-solaris2.8/2.95.2 -R/usr/local/lib -L/usr/local/lib onftest.c -lgd -lgd -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lz -lcrypt -lr esolv -lresolv -lresolv -lm -ldl -lsocket -lsocket -lgcc -lcrypt 1>&5 /var/tmp/cczf3W7n.o: In function `main': /export/home/APACHE_SOURCE/php-4.1.1/configure:21594: undefined reference to `gdImageStringFTEx' collect2: ld returned 1 exit status configure: failed program was: #line 21587 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageStringFTEx(); int main() { gdImageStringFTEx() ; return 0; } So I think I have to step back to the gd install and see what happened....but honestly, I don't know what to try..in the gd makefile I have: CFLAGS=-g -DHAVE_LIBPNG -DHAVELIBJPG -DHAVE_LIBFREETYPE LIBS=-lgd -lpng -lz -ljpeg -lfreetype -lm INCLUDEDIRS=-I. -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/i nclude/X11 -I/usr/X11R6/include/X11 LIBDIRS=-L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/lib Did I miss something...Is my INCLUDEDIRS correct for the freetype 2.. (freetype-config --cflags returns -I/usr/local/include -I/usr/local/include/freetype2).. I appreciate all your help.. Ernie "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Are you trying to draw TTF fonts on a truecolor image? If so, GD-2.0.1 > has a bug which turns of anti-aliasing of the fonts in that case. > GD-2.0.2 will have the fix. For now, try it with a non-truecolor image > and I bet the font will look just fine. > > You can also ask Wes Furlong nicely for the patch which fixes this bug in > GD 2. > > In order for ImageFTText() to work you have to make sure that > HAVE_LIBGD20, HAVE_LIBFREETYPE and HAVE_GD_STRINGFTEX are all defined in > your php_config.h > > In order to get that use configure flags like these: > > --with-gd=/home/rasmus/gd-2.0.1 > --with-jpeg-dir=/usr > --with-freetype-dir=/usr > --enable-gd-native-ttf > --enable-gd-imgstrttf > --with-png-dir=/usr > > Also, never put "lib" in a configure flag. If Freetype is somewhere under > /usr/local, then use --with-freetype-dir=/usr/local > Don't put /usr/local/lib or the header files will not be found since they > are likely not somewhere under /usr/local/lib > > -Rasmus > > On Thu, 21 Feb 2002, Ernie Dipko wrote: > > > Can't figure out where I am going wrong... > > > > I cant seem to use the imagefttext function in PHP..it returns a warning > > saying "No FreeType 2 support in this PHP build". > > The configure, make, and make install of all programs complete without error > > and ImageTTFText() works (but the fonts do not look all that good), I just > > cant seam to use ImageFTText(). > > > > I am using: > > Solaris 8 > > Gd-2.0.1 > > Freetype-2.0.8 > > Php-4.1.1 > > Apache_1.3.22 > > > > Here is my php configure command.(from config.nice) > > #! /bin/sh > > # > > # Created by configure > > > > './configure' \ > > '--with-xml' \ > > '--with-mysql=/usr/local/mysql' \ > > '--with-apache=../apache_1.3.22' \ > > '--enable-track-vars' \ > > '--enable-sockets' \ > > '--enable-bcmath' \ > > '--with-gd' \ > > '--enable-gd-native-ttf' \ > > '--with-ttf=no' \ > > '--with-freetype-dir=/usr/local/lib' \ > > '--with-jpeg-dir=/usr/local/lib' \ > > '--with-png-dir=/usr/local/lib' \ > > '--with-zlib-dir=/usr/local/lib' \ > > '--with-xpm-dir=/usr/local/lib' \ > > "$@" > > > > I have looked at many news posts, search engines, web pages, etc. and have > > seen a lot of problems mentioning the freetype is not compiled into gd...but > > that is not the problem I am having.... I did do some of the suggestions > > from these sources, just to try them, but the problem remains. > > > > I Have tried changing --with-freetype-dir=/usr/local/lib to /usr/local/, > > Also tried -enable-gd-native-tt for a bug fix, I think form php-4.0.6... > > > > I don't wat to beg, but....PLEASE HELP!!! > > Ernie Dipko > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php