Hi everybody,
I'm trying to get gd-2.0.1 to work with a new instance of apache and php4.0.6 and I got two errors:
Although GD seems to install just fine (with jpeg, png and zlib support) it does not create a libgd.a file. I'm unable to find any hints, be it in this forum, others or the manual.
The second thing is, I configure PHP with --enable-gd-native-ttf but when running it says
"checking whether to enable truetype string function in gd... no"
A few lines later configure stops with
"error: Unable to find libgd.(a|so) anywhere under /usr/local/include/freetype2"
Any hints on how to get a libgd.a and how to enable ttf for gd? Is the second thing even needed for using freetype fonts with gd (it seems so but...) 😉
My PHP config script reads as follows:
./configure --prefix=/usr/local/php \
--with-config-file-path=/usr/local/php/lib/php.ini \
--enable-trans-sid \
--enable-track-vars \
--with-apache=/usr/local/src/apache_1.3.22 \
--with-oci8=/usr/local/oracle \
--with-mysql=/home/mysql \
--with-jpeg-dir=../jpeg-6b \
--with-png-dir=../libpng-1.0.8 \
--with-zlib \
--with-zlib-dir=/usr/lib \
--with-openssl=/usr/local/openssl \
--with-curl=/usr/local/curl \
--with-gd=/usr/local/src/gd-2.0.1 \
--with-freetype-dir=/usr/local/include/freetype2 \
--enable-gd-native-ttf \
Thanks in advance,
Dominique