在编译之前我已经编译了fcpackage_2.0,而且在pango配置的时候没有出现错误,但是在编译的时候出现下面的错误。
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.1.0\" -DG_DISABLE_DEPRECATED -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -s -O3 -march=i686 -fomit-frame-pointer -Wall -fexpensive-optimizations -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c pangoxft-font.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.1.0\" -DG_DISABLE_DEPRECATED -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -s -O3 -march=i686 -fomit-frame-pointer -Wall -fexpensive-optimizations -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c pangoxft-font.c -fPIC -DPIC -o pangoxft-font.lo
In file included from pangoxft-private.h:25,
from pangoxft-font.c:26:
pangoxft.h:37:2: #error "must have Xft version 2 or newer"
In file included from pangoxft-private.h:25,
from pangoxft-font.c:26:
pangoxft.h:42: parse error before '*' token
In file included from pangoxft-font.c:26:
pangoxft-private.h:36: parse error before "FcPattern"
pangoxft-private.h:36: warning: no semicolon at end of struct or union
pangoxft-private.h:49: parse error before '}' token
pangoxft-private.h:52: parse error before "FcPattern"
pangoxft-private.h:60: parse error before "FcPattern"
pangoxft-private.h:65: parse error before '*' token
pangoxft-font.c: In function `pango_xft_font_get_type':
。。。
怎么解决。