| Martin Jost 2007-07-18, 4:16 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, so I can build gtk (2.4.11) later on.
(for dependencies, versions and reasons for this, see below)
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 it missing ?)
But now, when I try to compile pango it, the compilation is 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>
....
---------------------------------------------
If you look at the file, you find:
---------------------------------------------
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 is - as the name internal.h implies - not even installed.
I looked for a configure-switch or env var. to tell configure when
configuring pango, 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 ?
Martin
list of libs and versions
- atk 1.6.1
- glib 2.4.7 (using 2.6.3 compile succeeds, but libtool botches at install)
- 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.
|