For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > July 2007 > pango 1.6.0: build problem with "#include FT_INTERNAL_STREAM_H"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author pango 1.6.0: build problem with "#include FT_INTERNAL_STREAM_H"
Martin Jost

2007-07-18, 8:06 am

Hello,

I'm trying to build pango1.6.0 on HPUX 10.20 using gcc 4.1.0.
I need to get Xft-support working in pango, so I can build gtk (2.4.11)
later on.
(for dependencies, versions and reasons for this, see below)

(Is there a more specific place to ask for pango problems ? I looked in the
README etc. but found nothing.)

I got so far, that configure of pango shows
---------------------------------------------
configuration:
backends: FreeType X
---------------------------------------------

(gtk later on asks for Xft-support; so my guess is, this isn't enough - is
it ? How can I find, what is missing ?)

But now, when I try to compile pango, the compilation very soon aborts with:
---------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/pd/glibs/etc\"
-DLIBDIR=\"/pd/glibs/lib\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I/pd/glibs/include/glib-2.0
-I/pd/glibs/lib/glib-2.0/include -I/pd/glibs/include -I/pd/glibs/include/freetype2
-I/pd/glibs/include -I../.. -I/pd/glibs/include -DNEED_EVENTS -DNEED_REPLIES
-Wall -MT ftxopen.lo -MD -MP -MF .deps/ftxopen.Tpo -c
ftxopen.c -fPIC -DPIC -o .libs/ftxopen.o
ftxopen.c:23:10: error: #include expects "FILENAME" or <FILENAME>
ftxopen.c:24:10: error: #include expects "FILENAME" or <FILENAME>
ftxopen.c:25:10: error: #include expects "FILENAME" or <FILENAME>
....
---------------------------------------------

This is the referenced part of ftxopen.c:
---------------------------------------------
18 #include "ftxopen.h"
19 #include "ftxopenf.h"
20
21 #include "fterrcompat.h"
22
23 #include FT_INTERNAL_STREAM_H
24 #include FT_INTERNAL_MEMORY_H
25 #include FT_INTERNAL_TRUETYPE_TYPES_H
---------------------------------------------

FT_INTERNAL_STREAM_H etc. are found in
freetype-2.3.4/include/freetype/internal/internal.h:
---------------------------------------------
1
/ ****************************************
***********************************/
2 /* */
3 /* internal.h */
4 /* */
5 /* Internal header files (specification only). */
6 /* */
....
16
/ ****************************************
***********************************/
17
....
28 #define FT_INTERNAL_STREAM_H <freetype/internal/ftstream.h>
---------------------------------------------

But this file - as the name internal.h implies - is not installed.
(And the build didn't complain about a missing header file)
I looked for a configure-switch or env var. to tell pango configure,
where to look for the uninstalled version of freetype, but didn't succeed.

So: What is the "trick" to get pango to compile with Xft-support ?

TIA

Martin

list of libs and versions
- glib 2.4.7 (using 2.6.3, compile succeeds, but libtool botches at install)
- atk 1.6.1
- fontconfig 2.4.2
- freetype 2.3.4 (but freetype2.pc contains: Name: FreeType 2; Version:
9.15.3)
- libXrender 0.8.4

After the problems with glib 2.6.3 I randomly went back and got 2.4.7 to
compile and install. From there I tried to get the newest possible version
of the other libraries, which worked with the installed ones. So the
selection is somewhat random. If someone can point to a list of
"recommended" versions, this would be appreciated.




Spoon

2007-07-25, 7:07 pm

Martin Jost wrote:

> I'm trying to build pango1.6.0 on HPUX 10.20 using gcc 4.1.0.
> I need to get Xft-support working in pango, so I can build gtk (2.4.11)
> later on.
> (for dependencies, versions and reasons for this, see below)
>
> (Is there a more specific place to ask for pango problems ? I looked in the
> README etc. but found nothing.)


http://www.pango.org/Contributing states:

The mailing list for Pango is gtk-i18n-list. Despite the name, this list
is in no way specific to the GTK+ toolkit, and you are encouraged to ask
questions about using Pango in contexts other than GTK+. This list is
the place both to get help programming with Pango and to discuss future
Pango development. You'll need to be subscribed to post to the list.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com