error: 'FC_WIDTH' undeclared [vtefc.c:163]



xfree86-4.5.0 will install an old(v2.1.0) fontconfig.h file into
/usr/X11R6/include/fontconfig/
in which 'FC_WIDTH' not defined,

this prevent vte-0.11.13 component from being build,
coz vte is configured with option ` -I/usr/X11R6/include',

so the file installed by xfree86 will be used which take precedence of
the standard system include file
`/usr/include/fontconfig/fontconfig.h'.

the error message is:

 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/me/garnome/include
-I/home/me/garnome/include/glib-2.0
-I/home/me/garnome/lib/glib-2.0/include
-I/home/me/garnome/include/gtk-2.0
-I/home/me/garnome/lib/gtk-2.0/include
-I/home/me/garnome/include/atk-1.0
-I/home/me/garnome/include/pango-1.0 -I/usr/include/freetype2
-I/usr/X11R6/include -I/usr/X11R6/include -I/home/me/garnome/include
-L/home/me/garnome/lib -O2 -pipe -I/usr/X11R6/include
-I/usr/X11R6/include -I/home/me/garnome/include -L/home/me/garnome/lib
-O2 -pipe -MT vtefc.lo -MD -MP -MF .deps/vtefc.Tpo -c vtefc.c  -fPIC
-DPIC -o .libs/vtefc.o
vtefc.c: In function '_vte_fc_transcribe_from_pango_font_description':
vtefc.c:127: warning: pointer targets in passing argument 3 of
'FcPatternAddString' differ in signedness
vtefc.c:150: warning: pointer targets in passing argument 3 of
'FcPatternAddString' differ in signedness
vtefc.c:163: error: 'FC_WIDTH' undeclared (first use in this function)
vtefc.c:163: error: (Each undeclared identifier is reported only once
vtefc.c:163: error: for each function it appears in.)
make[5]: *** [vtefc.lo] Error 1


garnome version 2.10.2



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