freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] freetype and php-4.3.1


From: David Turner
Subject: Re: [Freetype] freetype and php-4.3.1
Date: Wed, 28 May 2003 18:25:20 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312

Hello,

wettengel, kay wrote:
> Excuse me, but I didn't find anything about this error in web - I guess my
> search was wrong, but anyway I hope you'll help me.
>
> I try to compile freetype-support into php. I use php-4.3.1 at the moment
> for that.
> I've already installed freetype2 to /usr/local/freetype2/current and when I
> set
> ./configure --with-freetype-dir=/usr/local/freetype2/current the configure
> is ok. But when I start make then I get the errror:
>

it seems to be a bug in gdft, I'd bet that:

  - the file $(prefix)/ft2build.h cannot be found, probably
    because the configure script wasn't written correctly
    and didn't include $(prefix) to the C include path

  - "gdft.c" seems to include $(prefix)/freetype/freetype.h directly,
    which is wrong. It should instead use something like:

        #include <ft2build.h>
        #include FT_FREETYPE_H
        ...

     if it did, the include path problem would be more visible
     than the current mess.

Hope this helps,

- David Turner
- The FreeType Project  (www.freetype.org)


In file included from
/usr/src/download/server/php/php-4.3.1/ext/gd/libgd/gdft.c:49:
/usr/local/freetype2/current/include/freetype2/freetype/freetype.h:41:
ft2build.h: No such file or directory
/usr/local/freetype2/current/include/freetype2/freetype/freetype.h:42:
`#include' expects "FILENAME" or <FILENAME>
/usr/local/freetype2/current/include/freetype2/freetype/freetype.h:43:
`#include' expects "FILENAME" or <FILENAME>
/usr/local/freetype2/current/include/freetype2/freetype/freetype.h:44:
`#include' expects "FILENAME" or <FILENAME>
In file included from
/usr/src/download/server/php/php-4.3.1/ext/gd/libgd/gdft.c:50:
/usr/local/freetype2/current/include/freetype2/freetype/ftglyph.h:36:
ft2build.h: No such file or directory
/usr/local/freetype2/current/include/freetype2/freetype/ftglyph.h:37:
`#include' expects "FILENAME" or <FILENAME>
make: *** [ext/gd/libgd/gdft.lo] Fehler 1
intranet:/usr/src/download/server/php/php-4.3.1 #

I tried to include the path to the freetype/include-directory to ld.so.conf,
but it didn't change anything.

Does anyone have any idea what I'm doing wrong?

Thankx

Kay




--
This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender.
Any use not in accordance with its purpose, any dissemination or disclosure,
either whole or partial, is prohibited except formal approval.
The E-Mail transmission can not guarantee the integrity of this message.
CANAL+TECHNOLOGIES will not therefore be liable for the message if modified.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]