I tried to configure GD library to work with Freetype on Linux Caldera and have some problems (without it seems to be OK). First I configured Freetype 2.0.1 like this : cd /home/rr/freetype-2.0.1 ./configure --with-prefix=/usr/local make make install I've seen that Freetype put the header files in /usr/local/include/freetype2/freetype not just in /usr/local/include like zlib and IJC JPEG but the libraries are installed typicaly so I have done some changes in /home/rr/gd-1.8.3/Makefile : #If you don't have FreeType, libjpeg and/or Xpm installed, including the #header files, uncomment this (default). #CFLAGS=-O #If you do have FreeType, libjpeg and/or Xpm fully installed, uncomment a #variation of this and comment out the line above. See also LIBS below. CFLAGS=-O -DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF #If you don't have FreeType and/or Xpm fully installed, uncomment this #(default). #PLEASE NOTE: YOU MAY HAVE TO JUGGLE THE ORDER OF THE LIBRARIES. #Some systems are very picky about link order. They don't all agree #on the right order, either. #LIBS=-lm -lgd -lpng -lz #If you do have FreeType, JPEG and/or Xpm fully installed, uncomment a #variation of this and comment out the line above. Note that #Xpm requires X11. See also CFLAGS above. #PLEASE NOTE: YOU MAY HAVE TO JUGGLE THE ORDER OF THE LIBRARIES. #Some systems are very picky about link order. They don't all agree #on the right order, either. LIBS=-lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11 #Typical install locations for freetype, zlib, xpm, libjpeg and libpng header fi les. #If yours are somewhere else, change this. #-I. is important to ensure that the version of gd you are installing #is used, and not an older release in your directory tree somewhere. INCLUDEDIRS=-I. -I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/local/include/freetype2/freetype/config -I/usr/local/include/freetype2/freetype #Typical install locations for freetype, zlib, xpm and libpng libraries. #If yours are somewhere else, other than a standard location #such as /lib or /usr/lib, then change this. Be sure to keep #-L. as this allows the gd library itself to be found. #Put -L. first so that old versions of the gd library elsewhere #on your system can't cause conflicts while building a new one. LIBDIRS=-L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib Whe I try to build it I receive some errors: [root@caldera gd-1.8.3]# make gcc -I. -I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/ local/include/freetype2/freetype/config -I/usr/local/include/freetype2/freetype -O -DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF -c gdttf.c -o gdttf.o In file included from gdttf.c:21: /usr/local/include/freetype2/freetype/freetype.h:26: freetype/config/ftbuild.h: No such file or directory /usr/local/include/freetype2/freetype/freetype.h:46: `#include' expects "FILENAM E" or <FILENAME> /usr/local/include/freetype2/freetype/freetype.h:47: `#include' expects "FILENAM E" or <FILENAME> /usr/local/include/freetype2/freetype/freetype.h:48: `#include' expects "FILENAM E" or <FILENAME> make: *** [gdttf.o] Error 1 Maybe I must change the order of the libraries ??( I tried this too but I did not find the right one) so I need some help. Thanx.