LinuxSir.cn,穿越时空的Linuxsir!

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

安装gaim-0.66报错,GLIB版本问题,请教如何解决

[复制链接]
发表于 2003-7-22 03:35:49 | 显示全部楼层 |阅读模式
刚开始装,./configure之后说pkg-config和GLIB2.0以上版本找不到。于是到各自网站下载了最新的版本,安装完毕。
再次configure,仍说没有pkg-config,后来发现su成root之后PATH里面没有/usr/local/bin,于是加上。
又执行./configure,报如下错误。

checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.2, but GLIB (2.2.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.

这是说pk-config报告是2.2.2的GLIB,结果只找到了2.2.1的,我前面确实装了2.2.2的GLIB。我现在办?
我尝试按照提示修改了LD_LIBRARY_PATH,还有/etc/ld.so.conf,但是可能是我不知道该怎么修改,都没有效果。
发表于 2003-7-22 05:37:31 | 显示全部楼层
/usr/lib/pkgconfig
看看pkg的对glib的配置
看你好象自己装过pkg的工具 可能在/usr/local/lib/pkgconfig 里面
 楼主| 发表于 2003-7-22 11:03:21 | 显示全部楼层
我是自己装过,装完之后,pkg-config文件在/usr/local/bin/下面。
 楼主| 发表于 2003-7-24 18:38:52 | 显示全部楼层
顶一下
发表于 2003-7-24 21:27:25 | 显示全部楼层
试试 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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