[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] need help in implementing freetype in gd/php
From: |
Klaus Spithost |
Subject: |
[Freetype] need help in implementing freetype in gd/php |
Date: |
Sun, 17 Mar 2002 14:22:08 +0100 |
Hi there,
I'm trying to build a Apache including PHP with freetype so that I can use
(among others) the PHP-function ImageTTFText. I'm using (among other
things) PHP 4.1.2, Apache 1.3.23, the gd 1.8.4 lib from Boutell, libpng
1.2.1, zlib 1.1.3, jpeg v6b and the 2.0.8 freetype lib.
Somehow I can't get the gd lib compiled with freetype support :-(
gd compiles great with the standard Makefile but that one doesn't compile
to something that understands the wanted PHP-functions. Then PHP says
things to me like:
libgd was not built with FreeType font support
This is a message that I found in a gd-file with the name gdttf.c and it is
produced when accessing something using gdttf when freetype is not compiled
into gd.
When I juggle around with the Makefile of gd to get in the freetype support
I get a lot of parse-errors in gdttf.c and warnings about variables that
are not declared and so on and logically gd wil not compile and the wanted
library is not created.
I'm not a C-wizzard as you might have guessed so everything that has to do
with interpreting C-code is beyond me. I can't imagine needing any
C-knowledge for this though because I don't want to change anything in the
way the functions do their work.
It propably is something very simple in the settings in the Makefile of gd
or something like that but I can't seem to figure it out.
The documentation of gd is slim at best and I haven't found any gd-related
documentation in the freetype-corner so I'm sort of lost.
Is there anyone out there that has compiled a working Apache with the
PHP-stuff I was referring to, running on Linux?
If so..... please react. Thanks a million in advance!! Bye,
Klaus
_________________________________________________________________________
IT-Works, Advies en dienstverlening op het gebied van automatisering.
telefoon: 058-2160815
fax: 058-2160825
E-mail: address@hidden
http://www.it-works.nl
__________________________________________________________________________
- [Freetype] need help in implementing freetype in gd/php,
Klaus Spithost <=