在安装gimp2.0.6时,/configure --prefix=/usr --sysconfdir=/etc
--disable-print \
--without-libjpeg --without-libtiff 再现如下错误:
checking for fontconfig >= 2.2.0... yes
checking FONTCONFIG_CFLAGS...
checking FONTCONFIG_LIBS... -lfontconfig
checking for pangoft2 >= 1.2.2... yes
checking PANGOFT2_CFLAGS... -I/usr/include/pango-1.0
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking PANGOFT2_LIBS... -Wl,--export-dynamic -lpangoft2-1.0
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking if Pango is built with a recent fontconfig... no
configure: error:
*** You have a fontconfig >= 2.2.0 installed on your system, but your
*** PangoFT2 is using an older version. This old version is probably in
*** /usr/X11R6. Look at the above output, and note that the result for
*** FONTCONFIG_CFLAGS is not in the result for PANGOFT2_CFLAGS, and that
*** there is likely an extra -I line, other than the ones for GLIB,
*** Freetype, and Pango itself. That's where your old fontconfig files
are.
*** Rebuild pango, and make sure that it uses the newer fontconfig. The
*** easiest way be sure of this is to simply get rid of the old
fontconfig.
*** When you rebuild pango, make sure the result for FONTCONFIG_CFLAGS
is
*** the same as the result here.
我明明安装了freetype2.1.9了啊,fontconfig是2.2.3,pango是1.6的,都是BLFS的BOOK上介绍的对应版本啊,怎么还说是old的呢!!!
兄弟们帮忙啊
先谢谢了!!!! |