Compiling Apache GD Freetype

AdamDM

Verified User
Joined
Jun 20, 2005
Messages
11
Hello,

I am hosting a friend, and his site requires that GD be compiling with free type....I know that the easy apache script compiles GD, but I need it to compile with free type as well.

Can anyone explain how to do this? I am at a loss how to. :confused:

Thanks,
Chris
 
The last time we did it we followed instructions posted on these forums.

The only problem we had was that the instructions showed the wrong location: freetype was in /usr/lib, and not where the forum post said it would be.

Jeff
 
jlasman said:
The last time we did it we followed instructions posted on these forums.

The only problem we had was that the instructions showed the wrong location: freetype was in /usr/lib, and not where the forum post said it would be.

Jeff

I'm still struggling to get this accomplished. I too saw that freetype was installed in /usr/lib made those changes and still get the zlib errors when trying to build php.

My steps:

installed freetype-devel
changed the build file for doGD to change the --without-freetype to --with-freetype=/usr/lib

changed configure.php to add --with-freetype and --with-freetype=/usr/lib

./build clean
./build gd
./build php

no love :(

I get the following error:

--with-freetype-dir=/usr/lib
 
Back
Top