LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 611|回复: 3

GIMP在configure时出现错误:

[复制链接]
发表于 2005-3-29 08:03:01 | 显示全部楼层 |阅读模式
在安装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,都是BLFS的BOOK上介绍的对应版本啊,怎么还说是old的呢!!!
兄弟们帮忙啊
先谢谢了!!!!
发表于 2005-3-29 12:45:19 | 显示全部楼层
提示里不是说得很明白吗,安装较高版本的pango
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-30 08:27:29 | 显示全部楼层
可是我的pango是1.6的啊,也是BOOK上的说的版本啊,并且gimp也是按同一个BOOK上所给的版本安装的啊!!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-4 08:05:15 | 显示全部楼层
呵呵,find / -name pango* -exec rm -rf {} \;
然后重新安装pango1.6,问题解决!!!
回复 支持 反对

使用道具 举报

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

本版积分规则

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