GD Library and Freetype support

Hello All,

I'm trying to rebuild my distro of PHP 5.3.0 (shipped with OS) with freetype enabled (--with-freetype-dir=/usr/X11R6). I've installed Marc Liyanage package from the .pkg because it looked like GD was fully supported. Unfortunately, 10.6 doesn't want to run that version, even after I removed the factory distro, manually changed configurations, copied over libphp5.so and ini files. So I'm back to square one.

It seems like I should be able to re build with the Apple version but I can't find a ./configure file related to the installation. Any help?

Stats:
Xtools are installed
X11R6 is installed
running PHP 5.3.0 (shipped with OS)
running Apache2 (shipped with OS)
GD is enabled

The problem I'm having is a Fatal error in one of my apps.: Call to undefined function imagettfbbox(). imagettfbbox() is a built in PHP function that uses GD and TTF (both enabled by default). However freetype is not enabled. I'm assuming by enabling freetype, this will solve the problem.

Thanks in advance
Ron

MacBook Pro, 2.66Ghz, Mac OS X (10.6.1), Xserver 10.6; Linux(FedoraCore) server; mixed PC/Network environment; iPhone

Posted on Jul 26, 2010 6:36 PM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

GD Library and Freetype support

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.