Re: Pango Build Error



I'd suggest to check the date of the Xft.h file in /usr/X11R6...
If it doesn't match the date you installed from the fcpackage.2_1
source, seach where the Xft.h file from that day is and use that.


On Fri, 2003-03-28 at 22:08, James Duncan wrote:
> Hello all.  Trying to build 1.2.1 with backends:  FreeType X Xft
> I've installed Xft and fontconfig from fcpackage.2_1 source.
> 
> make in pango gives this...
> 
> ......
> 
> /usr/X11R6/include/X11/Xft/Xft.h:547: parse error before "Picture"
> /usr/X11R6/include/X11/Xft/Xft.h:560: parse error before "Picture"
> /usr/X11R6/include/X11/Xft/Xft.h:573: parse error before "Picture"
> /usr/X11R6/include/X11/Xft/Xft.h:586: parse error before "Picture"
> /usr/X11R6/include/X11/Xft/Xft.h:599: parse error before "Picture"
> In file included from pangoxft-private.h:25,
>                  from pangoxft-font.c:26:
> pangoxft.h:55: parse error before "XftColor"
> pangoxft.h:61: parse error before "Picture"
> pangoxft-font.c: In function `get_mini_font':
> pangoxft-font.c:163: `XGlyphInfo' undeclared (first use in this function)
> pangoxft-font.c:163: (Each undeclared identifier is reported only once
> pangoxft-font.c:163: for each function it appears in.)
> pangoxft-font.c:163: parse error before "extents"
> pangoxft-font.c:180: `extents' undeclared (first use in this function)
> pangoxft-font.c: At top level:
> pangoxft-font.c:196: parse error before "Picture"
> pangoxft-font.c: In function `draw_rectangle':
> pangoxft-font.c:205: `draw' undeclared (first use in this function)
> pangoxft-font.c:207: `color' undeclared (first use in this function)
> pangoxft-font.c:207: `x' undeclared (first use in this function)
> pangoxft-font.c:207: `y' undeclared (first use in this function)
> pangoxft-font.c:207: `width' undeclared (first use in this function)
> pangoxft-font.c:207: `height' undeclared (first use in this function)
> pangoxft-font.c:211: warning: implicit declaration of function
> `XRenderComposite'
> pangoxft-font.c:211: `display' undeclared (first use in this function)
> pangoxft-font.c:211: `PictOpOver' undeclared (first use in this function)
> pangoxft-font.c:211: `src_picture' undeclared (first use in this function)
> pangoxft-font.c:211: `dest_picture' undeclared (first use in this
> function)
> pangoxft-font.c: At top level:
> pangoxft-font.c:218: parse error before "Picture"
> pangoxft-font.c: In function `draw_box':
> pangoxft-font.c:228: `display' undeclared (first use in this function)
> pangoxft-font.c:228: `src_picture' undeclared (first use in this function)
> pangoxft-font.c:228: `dest_picture' undeclared (first use in this
> function)
> pangoxft-font.c:228: `draw' undeclared (first use in this function)
> pangoxft-font.c:228: `color' undeclared (first use in this function)
> pangoxft-font.c:229: `x' undeclared (first use in this function)
> pangoxft-font.c:229: `y' undeclared (first use in this function)
> pangoxft-font.c:229: `width' undeclared (first use in this function)
> pangoxft-font.c:229: `xfont' undeclared (first use in this function)
> pangoxft-font.c:231: `height' undeclared (first use in this function)
> pangoxft-font.c: At top level:
> pangoxft-font.c:251: parse error before "Picture"
> pangoxft-font.c: In function `pango_xft_real_render':
> pangoxft-font.c:260: `font' undeclared (first use in this function)
> pangoxft-font.c:284: `display' undeclared (first use in this function)
> pangoxft-font.c:287: `glyphs' undeclared (first use in this function)
> pangoxft-font.c:290: `x' undeclared (first use in this function)
> pangoxft-font.c:291: `y' undeclared (first use in this function)
> pangoxft-font.c:323: `src_picture' undeclared (first use in this function)
> pangoxft-font.c:323: `dest_picture' undeclared (first use in this
> function)
> pangoxft-font.c:323: `draw' undeclared (first use in this function)
> pangoxft-font.c:323: `color' undeclared (first use in this function)
> pangoxft-font.c:330: `PictOpOver' undeclared (first use in this function)
> pangoxft-font.c: At top level:
> pangoxft-font.c:380: parse error before "XftColor"
> pangoxft-font.c: In function `pango_xft_render':
> pangoxft-font.c:386: `draw' undeclared (first use in this function)
> pangoxft-font.c:387: `color' undeclared (first use in this function)
> pangoxft-font.c:388: `font' undeclared (first use in this function)
> pangoxft-font.c:389: `glyphs' undeclared (first use in this function)
> pangoxft-font.c:391: `x' undeclared (first use in this function)
> pangoxft-font.c:391: `y' undeclared (first use in this function)
> pangoxft-font.c: At top level:
> pangoxft-font.c:408: parse error before "Picture"
> pangoxft-font.c: In function `pango_xft_picture_render':
> pangoxft-font.c:415: `display' undeclared (first use in this function)
> pangoxft-font.c:416: `src_picture' undeclared (first use in this function)
> pangoxft-font.c:417: `dest_picture' undeclared (first use in this
> function)
> pangoxft-font.c:418: `font' undeclared (first use in this function)
> pangoxft-font.c:419: `glyphs' undeclared (first use in this function)
> pangoxft-font.c:421: `x' undeclared (first use in this function)
> pangoxft-font.c:421: `y' undeclared (first use in this function)
> pangoxft-font.c: In function `pango_xft_font_get_glyph_extents':
> pangoxft-font.c:573: `XGlyphInfo' undeclared (first use in this function)
> pangoxft-font.c:573: parse error before "extents"
> pangoxft-font.c:607: `extents' undeclared (first use in this function)
> /usr/include/bits/stdio.h: At top level:
> pangoxft-font.c:674: warning: `set_unicode_charmap' defined but not used
> make[3]: *** [pangoxft-font.lo] Error 1
> make[3]: Leaving directory
> `/home/public/src/gnome/2.2.1/pango-1.2.1/pango'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/public/src/gnome/2.2.1/pango-1.2.1/pango'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/public/src/gnome/2.2.1/pango-1.2.1'
> make: *** [all-recursive-am] Error 2
> 
> Any ideas?
> 
> 
> --
> James Duncan			james duncan sheridanc on ca
> LMS Technologist		(905) 845 - 9430 x2556
> 
> Sheridan Institute of Technology and Advanced Learning
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list




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