Yup...That's what happened to me too. I got around it by installing Freetype
as a shared library and compiling GD without Freetype. Then I linked on both
Freetype and GD during PHP compile and this seems to work. I have had no
problems creating images with TTF.
Dean
-----Original Message-----
From: Ashley T. Howes Ph.D. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 10:13 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Compiling GD with freetype2
Hi,
I've installed freetype2 from source into the default locations, and
modified the Makefile for GD to include TTF support. Added
/usr/local/include/freetype2/ to the INCLUDE var.
When I try to make, lots of files compile fine but gdttf.c complains
it can't find freetype.h.
If I add /usr/local/include/freetype2/freetype/ to the INCLUDE var (so it
can
find freetype.h), it produces lots of compile errors. The first of
these complains of a missing semicolon on a line which declares a
TT_ENGINE struct in font_t.
If I do `grep -r TT_ENGINE /usr/local/include/freetype2/`, it doesn't
find a thing.
Help!
Alexis Lee
--
Dr Ashley T. Howes Ph.D. [EMAIL PROTECTED]
Internet Developer http://www.turton.com
Turton Creative Marketing Solutions
23-27 St. Andrews Street, Norwich, Norfolk, NR2 4TP, UK
Tel:+44 (0)1603 766888 Fax:+44 (0)1603 767070
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]