On Sep 27, 2008, at 15:32, Bob Cohen wrote:
I'm having trouble compiling freetype into my php. I'm running
fedora 9 with Apache 2.0.633, php 4.4.9 GD is installed.
Here's what I've got for freetype,
# rpm -qa | grep -i freetype
freetype-devel-2.3.5-4.fc9.i386
freetype-2.3.5-4.fc9.i386
This is latest version available via Yum.
Here's the config string,
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-
magic-quotes --enable-ftp --with-mcrypt=/usr/local --with-mysql=/
usr --with-mhash=/usr/local/lib --with-zlib --enable-mbstring --
with-gd -with-png --with-jpeg-dir=/usr --with-freetype --with-imap
--with-kerberos --with-imap-ssl --with-ttf --enable-gd-native-ttf --
enable-freetype2
Configure runs without complaints.
Make clean (no complaints)
Make (no complaints)
Make install (no complaints)
/apachect stop/start (no complaints)
My phpinfo script shows no freetype support???
MacPorts, in which php4 installs just fine with freetype support as
far as I'm aware, uses this configure argument:
--with-freetype-dir=${prefix}
You may just need to tell it where freetype is.
Other than that, I'm not sure. It seems like more of a php question
than a freetype question. Try asking on a php list.
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype