GD with FreeType 2.x

This is the biggest PITA. I don't even NEED it working but I HAVE to get it working now. I have followed everything to a tee and it will not compile.
 
Re: freetype setup

bsod said:
I've had, like most of you, some trouble with enabling freetype in gd.
But finally after some time found the solution.

first install freetype2.**

Code:
cd /usr/local/directadmin/customapache/
wget [url]http://ovh.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.9.tar.gz[/url]
tar zxf freetype-2.1.9.tar.gz
cd freetype-2.1.9
./configure
make
make install

next part (2)
open /usr/local/directadmin/customapache/configure.php
and make sure the following lines are in there, if not add them.

Code:
                --with-gd \
	--with-gd-dir=/usr/local/lib \
	--with-freetype \
	--with-freetype-dir=/usr/local/lib \

next part (3)

in the /usr/local/directadmin/customapache/ directory
type in:

Code:
./build clean
./build gd
./build php

with these line you recompile gd & php ( with the ./build php, be sure to type Y when prompted for installing GD )

finally restart apache with.
Code:
service httpd restart


After this freetype worked finally worked for me.

Hi ;)

Me i've got a problem :(

I lost the connexion with my host after this

./build php

Then i reconnecte, and i write service httpd restart

But no result, no freetype on my host.

What the probleme ?

Have you an idea ?
 
Again i am asking for help with my freetype installation as i mentioned on the second last post on page 3.

Can someone give me more info or some help?
Or doesnt anyone has got any clue?

thnx in advance
 
Ask your HOST a reboot

All will set out again like front

But always without freetype

I have the same problem as you :(

And with each installation, even error
 
And how I makes when my Shell loses connection
after
. /build php

??? :rolleyes:
 
mvveelen said:
Ok, but I now rebuild PHP and everything went fine, but still no support for freetype :(

Same problem...
I saw in your phpinfo that you have it working now.

please let me know how I can fix it

if I do ./configure in the freetype directory:
---
GNU make (>= 3.79.1) or makepp (>= 1.19) is required to build FreeType2.
Please try
`GNUMAKE=<GNU make command name> ./configure'.
or >&2
`GNUMAKE="makepp --norc-substitution" ./configure'.
---
 
Last edited:
Back
Top