I'm trying to compile php so that this script works:
http://watson-wilson.ca/starfrontiers/images/title.php?text=Font&size=35
This is my compile script:
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local \
--with-apache=/usr/src/Apachetoolbox-1.5.54/apache_1.3.26 \
--enable-exif \
--enable-track-vars \
--with-calendar=shared \
--enable-safe-mode \
--enable-magic-quotes \
--enable-trans-sid \
--enable-wddx \
--enable-ftp \
--with-xpm-dir=/usr/X11R6 \
--with-gd=/usr/local \
--enable-gd-native-ttf \
--enable-gd-imgstrttf \
--with-freetype-dir=/usr/local/include/freetype2/freetype/ \
--with-zlib \
--with-t1lib=/usr/local \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--with-ttf=/usr/local/lib \
--with-openssl=/usr \
--with-mysql=/usr/local/mysql \
The output from configure seems to indicate that everything is OK:
checking for GD support... yes
checking whether to enable truetype string function in GD... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for the location of libpng... yes
checking for png_write_image in -lpng... (cached) yes
checking for the location of libXpm... yes
checking for XpmFreeXpmImage in -lXpm... (cached) yes
checking for freetype(2)... yes
checking for FreeType 1.x support... yes
no - FreeType 2.x is to be used instead
checking for T1lib support... yes
checking for T1_LoadFont in -lt1... (cached) yes
checking for gdImageString16 in -lgd... (cached) yes
checking for gdImagePaletteCopy in -lgd... (cached) yes
checking for gdImageCreateFromPng in -lgd... (cached) yes
checking for gdImageCreateFromGif in -lgd... (cached) no
checking for gdImageWBMP in -lgd... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) yes
checking for gdImageCreateFromXpm in -lgd... (cached) yes
checking for gdImageCreateFromGd2 in -lgd... (cached) yes
checking for gdImageCreateTrueColor in -lgd... (cached) yes
checking for gdImageSetTile in -lgd... (cached) yes
checking for gdImageSetBrush in -lgd... (cached) yes
checking for gdImageStringTTF in -lgd... (cached) yes
checking for gdImageStringFT in -lgd... (cached) yes
checking for gdImageStringFTEx in -lgd... (cached) no
checking for gdImageColorClosestHWB in -lgd... (cached) yes
checking for gdImageColorResolve in -lgd... (cached) yes
checking for gdImageGifCtx in -lgd... (cached) no
A make and make install runs fine. I restart apache and no errors. Then I run the script, which I have tested on other mach
ines, and it doesn't work. Can anyone give me some suggestions?