GIMP在configure时出现错误:
在安装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的呢!!!
兄弟们帮忙啊
先谢谢了!!!!
checking PANGOFT2_CFLAGS... -I/usr/include/pango-1.0
1.0的?? 我的是pango1.6的啊!!,怎么会是这样checking PANGOFT2_CFLAGS... -I/usr/include/pango-1.0
呢!!!
PangoFT2这个是在安装pango时带的吗??我的PANGO是1.6的,他怎么还提示版本低呢!!!难道是pango和PANGOFT2不统一吗??
兄弟们有什么办法啊!!! 按照偶的理解。问题出在这里:
checking if Pango is built with a recent fontconfig... no
就是说,虽然你的pango是1.6但是Pango is not built with a recent fontconfig。。
所以你要Rebuild pango, and make sure that it uses the newer fontconfig
:oops::oops::oops: 先安装一个新版本的fontconfig再重新安装PANGO???
是这个意思吧!!
楼上的大哥???、 偶E文不好,看不大懂 :oops:
The easiest way be sure of this is to simply get rid of the old
这是虾米东西。。 潇湘馆主呢? :twisted: 我也看不太懂啊!!
哪位兄弟帮帮忙啊!!!
The easiest way be sure of this is to simply get rid of the old
最方便的做法就是把旧版的给卸了:-) find / -name pango* -exec rm -rf {} \;
然后重新安装PANGO1.6
搞定!!
呵呵
页:
[1]