[linux]pango wil niet compilen

Pagina: 1
Acties:

  • Super_ik
  • Registratie: Maart 2001
  • Laatst online: 20-05 17:44
ik wil pango-1.0.4 installeren om gnome te instaleren.
glib-2 is al geinstalleerd.
ik heb ook freetype2 2.1.2 geinstalleerd
daarnaa ook freetype2 2.0.9 omdat ik da in de seach had gevonden
nog steeds krijg ik:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
In file included from pangoxft.h:27,
                 from pangoxft-private.h:25,
                 from pangoxft-font.c:26:
../pango/pango-ot.h:43: parse error before `face'
In file included from pangoxft-private.h:25,
                 from pangoxft-font.c:26:
pangoxft.h:64: parse error before `pango_xft_font_get_face'
pangoxft.h:64: warning: type defaults to `int' in declaration of `pango_xft_font
_get_face'
pangoxft.h:64: warning: data definition has no type or storage class
In file included from pangoxft-font.c:27:
/usr/X11R6/include/X11/Xft/XftFreetype.h:34: parse error before `_XftFTlibrary'
/usr/X11R6/include/X11/Xft/XftFreetype.h:34: warning: type defaults to `int' in
declaration of `_XftFTlibrary'
/usr/X11R6/include/X11/Xft/XftFreetype.h:34: warning: data definition has no typ
e or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:37: parse error before `FT_Face'
/usr/X11R6/include/X11/Xft/XftFreetype.h:37: warning: no semicolon at end of str
uct or union
/usr/X11R6/include/X11/Xft/XftFreetype.h:41: parse error before `size'
/usr/X11R6/include/X11/Xft/XftFreetype.h:41: warning: type defaults to `int' in
declaration of `size'
/usr/X11R6/include/X11/Xft/XftFreetype.h:41: warning: data definition has no typ
e or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:54: parse error before `matrix'
/usr/X11R6/include/X11/Xft/XftFreetype.h:54: warning: type defaults to `int' in
declaration of `matrix'
/usr/X11R6/include/X11/Xft/XftFreetype.h:54: warning: data definition has no typ
e or storage class
/usr/X11R6/include/X11/Xft/XftFreetype.h:71: parse error before `face'
pangoxft-font.c: In function `get_mini_font':
pangoxft-font.c:164: `FT_Face' undeclared (first use in this function)
pangoxft-font.c:164: (Each undeclared identifier is reported only once
pangoxft-font.c:164: for each function it appears in.)
pangoxft-font.c:164: parse error before `face'
pangoxft-font.c:176: `face' undeclared (first use in this function)
pangoxft-font.c:181: warning: implicit declaration of function `FT_Get_Char_Inde
x'
pangoxft-font.c: In function `pango_xft_real_render':
pangoxft-font.c:290: `FT_Face' undeclared (first use in this function)
pangoxft-font.c:290: parse error before `face'
pangoxft-font.c:312: `face' undeclared (first use in this function)
pangoxft-font.c: In function `pango_xft_font_get_coverage':
pangoxft-font.c:531: `FT_Face' undeclared (first use in this function)
pangoxft-font.c:531: parse error before `face'
pangoxft-font.c:544: `face' undeclared (first use in this function)
pangoxft-font.c:549: `FT_UInt' undeclared (first use in this function)
pangoxft-font.c:549: parse error before `gindex'
pangoxft-font.c:550: `FT_ULong' undeclared (first use in this function)
pangoxft-font.c:552: `charcode' undeclared (first use in this function)
pangoxft-font.c:552: warning: implicit declaration of function `FT_Get_First_Cha
r'
pangoxft-font.c:552: `gindex' undeclared (first use in this function)
pangoxft-font.c:556: warning: implicit declaration of function `FT_Get_Next_Char
'
pangoxft-font.c: At top level:
pangoxft-font.c:681: parse error before `face'
pangoxft-font.c: In function `set_unicode_charmap':
pangoxft-font.c:685: `face' undeclared (first use in this function)
pangoxft-font.c:686: `ft_encoding_unicode' undeclared (first use in this functio
n)
pangoxft-font.c:688: `FT_Error' undeclared (first use in this function)
pangoxft-font.c:688: parse error before `error'
pangoxft-font.c:689: `error' undeclared (first use in this function)
pangoxft-font.c:689: `FT_Err_Ok' undeclared (first use in this function)
pangoxft-font.c: In function `load_fallback_font':
pangoxft-font.c:717: dereferencing pointer to incomplete type
pangoxft-font.c: In function `pango_xft_font_get_font':
pangoxft-font.c:766: dereferencing pointer to incomplete type
pangoxft-font.c: At top level:
pangoxft-font.c:834: parse error before `pango_xft_font_get_face'
pangoxft-font.c:835: warning: return-type defaults to `int'
pangoxft-font.c: In function `pango_xft_font_get_face':
pangoxft-font.c:838: warning: return makes integer from pointer without a cast
pangoxft-font.c:843: warning: return makes integer from pointer without a cast
pangoxft-font.c:845: dereferencing pointer to incomplete type
pangoxft-font.c:846: warning: control reaches end of non-void function
pangoxft-font.c: In function `pango_xft_font_get_ot_info':
pangoxft-font.c:867: `FT_Face' undeclared (first use in this function)
pangoxft-font.c:867: parse error before `face'
pangoxft-font.c:869: `face' undeclared (first use in this function)
make[3]: *** [pangoxft-font.lo] Error 1
make[3]: Leaving directory `/root/pango-1.0.4/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/pango-1.0.4/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pango-1.0.4'
make: *** [all-recursive-am] Error 2

8<------------------------------------------------------------------------------------
Als ik zo door ga haal ik m'n dood niet. | ik hou van goeie muziek


Verwijderd

uhm, van die freetype library he, heb je daar ook de development versie van geinstalleert? dus die met alle headerfiles en object files enzo?

Verwijderd

Post eens die regels rond regel 43 van die file pango-ot.h waar het mis gaat.
Het gekke is namelijk dat hij gewoon faalt in het compileren van de source, terwijl hij gewoon alle headers kan vinden enzo... werk je niet toevallig met een oude GCC ofzow?

  • Super_ik
  • Registratie: Maart 2001
  • Laatst online: 20-05 17:44
rond regel 43:
code:
1
PangoOTInfo *pango_ot_info_new (FT_Face face);

hmm, hoe kan ik checken welke gcc ik gebruik?

8<------------------------------------------------------------------------------------
Als ik zo door ga haal ik m'n dood niet. | ik hou van goeie muziek


Verwijderd

gcc --version Beetje zelf zoeken kan geen kwaad :)

  • Super_ik
  • Registratie: Maart 2001
  • Laatst online: 20-05 17:44
code:
1
2
root@katja:~# gcc --version
2.95.3

8<------------------------------------------------------------------------------------
Als ik zo door ga haal ik m'n dood niet. | ik hou van goeie muziek


Verwijderd

Super_ik schreef op 14 september 2002 @ 17:20:
ik wil pango-1.0.4 installeren om gnome te instaleren.
glib-2 is al geinstalleerd.
ik heb ook freetype2 2.1.2 geinstalleerd
daarnaa ook freetype2 2.0.9 omdat ik da in de seach had gevonden
Toch niet door elkaar he? Dan gaat het namelijk niet meer goed. ;).
Pagina: 1