On the same machine (RH 6.2 x86), I can get php 4.0.6 (and earlier) to 
compile with gd support. phphinfo() shows the following:

GD Support - enabled
GD Version - between 1.3 and 1.6.1
FreeType Support - enabled
FreeType Linkage - with TTF library
GIF Support - enabled

and ImageTypes() returns IMG_GIF

using the following configure options:

--disable-debug \
         --enable-track-vars \
         --with-pgsql=/usr/local/pgsql/lib \
         --with-mysql \
         --with-zlib \
         --with-mm=../mm-1.1.3 \
         --with-gd \
         --with-jpeg-dir \
         --with-ttf \
         --with-fdftk=../FDFToolkitForUNIX \
         --with-openssl \
         --with-apache=../apache_1.3.22

With php 4.1.1, I can get it to compile and run, phpinfo() shows the 
following:

GD Support - enabled
GD Version - between 1.3 and 1.6.1
FreeType Support - enabled
FreeType Linkage - with TTF library
GIF Read Support - enabled
GIF Create Support - enabled

but ImageTypes() returns nothing, and other Image* functions fail.

using the following configure options:

--disable-debug \
         --enable-track-vars \
         --with-pgsql=/usr/local/pgsql/lib \
         --with-mysql \
         --with-mm=../mm-1.1.3 \
         --with-gd \
         --enable-gd-native-ttf \
         --enable-gd-imgstrttf \
         --with-ttf \
         --with-jpeg-dir=/usr \
         --with-png-dir=/usr \
         --with-zlib \
         --with-fdftk=../FDFToolkitForUNIX \
         --with-openssl \
         --with-apache=../apache_1.3.22

Before I do a make, I do a make clean, then rm -f config.cache 
config.log config.status, then re-configure.

Thanks for any constructive input,

Charles Dostale
Sys Admin
http://www.silveroaks.com
chasd at silveroaks.com


-- 
PHP Install 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