QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 835|回复: 8

GIMP在configure时出现错误:

[复制链接]
发表于 2005-3-30 14:29:24 | 显示全部楼层 |阅读模式
在安装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的呢!!!
兄弟们帮忙啊
先谢谢了!!!!
发表于 2005-4-1 14:19:05 | 显示全部楼层
checking PANGOFT2_CFLAGS... -I/usr/include/pango-1.0

1.0的??
回复

使用道具 举报

 楼主| 发表于 2005-4-2 08:37:35 | 显示全部楼层
我的是pango1.6的啊!!,怎么会是这样checking PANGOFT2_CFLAGS... -I/usr/include/pango-1.0
呢!!!
PangoFT2这个是在安装pango时带的吗??我的PANGO是1.6的,他怎么还提示版本低呢!!!难道是pango和PANGOFT2不统一吗??
兄弟们有什么办法啊!!!
回复

使用道具 举报

发表于 2005-4-2 08:49:22 | 显示全部楼层
按照偶的理解。问题出在这里:
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

    
回复

使用道具 举报

 楼主| 发表于 2005-4-2 08:53:40 | 显示全部楼层
先安装一个新版本的fontconfig再重新安装PANGO???
是这个意思吧!!
楼上的大哥???、
回复

使用道具 举报

发表于 2005-4-2 09:03:21 | 显示全部楼层
偶E文不好,看不大懂

The easiest way be sure of this is to simply get rid of the old

这是虾米东西。。 潇湘馆主呢?
回复

使用道具 举报

 楼主| 发表于 2005-4-2 14:14:22 | 显示全部楼层
我也看不太懂啊!!
哪位兄弟帮帮忙啊!!!
回复

使用道具 举报

发表于 2005-4-2 18:23:03 | 显示全部楼层
The easiest way be sure of this is to simply get rid of the old

最方便的做法就是把旧版的给卸了  :-)
回复

使用道具 举报

 楼主| 发表于 2005-4-4 09:03:50 | 显示全部楼层
find / -name pango* -exec rm -rf {} \;
然后重新安装PANGO1.6
搞定!!
呵呵
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-6 20:34 , Processed in 0.037968 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表