Pango doesn't build



Im' ruinning a Slackware 8.0 with Xfree 4.1
I've just downloaded all the Gnome 2.0.1 tarballs and I'm using garnome 0.13.1
This is the error I get:


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 type 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 struct 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 type 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 type 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_Index'
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_Char'
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 function)
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[7]: *** [pangoxft-font.lo] Error 1

I've already read something in the archive about freetype but usually they consider the package freetype itself and the errors were different anyway.Here it seems that the problem could be the headers of XFree or am I wrong?
Is there a solution?
Thanks a lot
Lorenzo

#######################################
"The other line always moves faster" (Murphy)
http://www.piccolotux.it
ICQ:62415033
#######################################



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