Re: Compiling Pango 1.0.3



What version of XFree and freetype do you have installed?

Alex

On Sat, 2002-07-27 at 10:49, Paulo J. Matos wrote:
> Hi all,
> 
> I've downloaded the latest versions of glib, atk, pango and gtk+
> and I'm compiling them, glib, atk were compiled
> successfully. While compiling Pango I get:
> make[3]: Entering directory `/home/pdestroy/gtk/pango-1.0.3/pango'
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -DMODULE_VERSION=\"1.0.0\" -DG_DISABLE_DEPRECATED -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I..    -g -O2 -Wall -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -c pangoxft-font.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -DMODULE_VERSION=\"1.0.0\" -DG_DISABLE_DEPRECATED -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I.. -g -O2 -Wall -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -c pangoxft-font.c  -fPIC -DPIC -o pangoxft-font.lo
> 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 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:566: `FT_UInt' undeclared (first use in this function)
> pangoxft-font.c:566: parse error before `glyph'
> pangoxft-font.c:568: `glyph' undeclared (first use in this function)
> pangoxft-font.c: In function `pango_xft_font_get_font':
> pangoxft-font.c:694: `FT_Face' undeclared (first use in this function)
> pangoxft-font.c:694: parse error before `face'
> pangoxft-font.c:695: `FT_Error' undeclared (first use in this function)
> pangoxft-font.c:731: `face' undeclared (first use in this function)
> pangoxft-font.c:731: dereferencing pointer to incomplete type
> pangoxft-font.c:735: `ft_encoding_unicode' undeclared (first use in this function)
> pangoxft-font.c:740: `error' undeclared (first use in this function)
> pangoxft-font.c:740: warning: implicit declaration of function `FT_Set_Charmap'
> pangoxft-font.c: At top level:
> pangoxft-font.c:796: parse error before `pango_xft_font_get_face'
> pangoxft-font.c:797: warning: return-type defaults to `int'
> pangoxft-font.c: In function `pango_xft_font_get_face':
> pangoxft-font.c:800: warning: return makes integer from pointer without a cast
> pangoxft-font.c:805: warning: return makes integer from pointer without a cast
> pangoxft-font.c:807: dereferencing pointer to incomplete type
> pangoxft-font.c:808: warning: control reaches end of non-void function
> pangoxft-font.c: In function `pango_xft_font_get_ot_info':
> pangoxft-font.c:829: `FT_Face' undeclared (first use in this function)
> pangoxft-font.c:829: parse error before `face'
> pangoxft-font.c:831: `face' undeclared (first use in this function)
> make[3]: *** [pangoxft-font.lo] Error 1
> make[3]: Leaving directory `/home/pdestroy/gtk/pango-1.0.3/pango'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/pdestroy/gtk/pango-1.0.3/pango'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/pdestroy/gtk/pango-1.0.3'
> make: *** [all-recursive-am] Error 2
> 
> 
> Any ideas of where might the problem be?
> 
> Best regards,
> 
> -- 
> Paulo J. Matos : pocm(_at_)mega.ist.utl.pt
> Instituto Superior Tecnico - Lisbon    
> Software & Computer Engineering - A.I.
>  - > http://mega.ist.utl.pt/~pocm 
>  ---	
> 	Yes, God had a deadline...
> 		So, He wrote it all in Lisp!
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
-- 
PC Load Letter? What the f*#k does that mean?




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