LinuxSir.cn,穿越时空的Linuxsir!

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

编译gtk+-2.4.0出错

[复制链接]
发表于 2004-4-28 12:28:11 | 显示全部楼层 |阅读模式
编译gtk+-2.4.0出错
./configure
...
checking for freetype-config... /usr/bin/freetype-config
checking For sufficiently new FreeType (at least 2.0.1)... yes
configure: error: Pango 1.2.0 and Xft backend is required for x11 target

而编译好glib-2.4.0 atk-1.6.0 pango-1.4.0后,有一些应用程式不能使用了,打开时出现错误:
(Gecko:5678): GLib-GObject-WARNING **: specified class size for type 'PangoXftFontMap' is smaller than the parent type's 'PangoFontMap' class size
(Gecko:5678): GLib-Gobject-CRITICAL **: file gobject.c: line 819 (g_object_new):assertion 'G_TYPE_IS_OBJECT (lbject_type)' failed
编译是用 ./configure  make  make install

现在怎么办?
 楼主| 发表于 2004-4-28 13:33:44 | 显示全部楼层
有哪位大侠知道吗
发表于 2004-4-28 13:44:28 | 显示全部楼层
1.vi /etc/ld.so.conf
add line:/usr/local/lib

2.use urpmi to update cooker files
发表于 2004-4-28 13:49:30 | 显示全部楼层
建议:找个好用的cooker的数据源,然后安装你所需要的应用程序,这样会省去很多关联性的麻烦的。
 楼主| 发表于 2004-4-28 14:03:46 | 显示全部楼层
/etc/ld.so.conf
add line:/usr/local/lib
在编译之前就有做了

现在不上Cooker更新应用程式,有什么方法解决吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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