LinuxSir.cn,穿越时空的Linuxsir!

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

怎么安装glib-2.4.0.tar.gz

[复制链接]
发表于 2004-4-12 13:02:49 | 显示全部楼层 |阅读模式
如题!
 楼主| 发表于 2004-4-12 13:14:08 | 显示全部楼层
怎么查看当前glib的版本啊?
 楼主| 发表于 2004-4-12 23:27:02 | 显示全部楼层
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.4.0, 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/.
发表于 2004-4-16 10:57:27 | 显示全部楼层
怎么没人回答呀?
如果成功安装后,如何能检查其更新过的版本?安装后是不是还要设置什么?
发表于 2004-4-16 11:20:27 | 显示全部楼层
一直出现这个问题,已安装好新版本的glib(是tar.gz)的,可就是没办法告诉系统已安装的是新版本,也就是说怎么更新链接库,我用了ldconfig,好像也没有用处,这是什么原因?

是新手,一直想装QQ,可总是卡在这里,哪位大侠帮一下忙呀?
发表于 2004-4-16 11:25:38 | 显示全部楼层
-__-提示信息都告诉你了

你的glib版本是2.2.1
查看glib版本号请用 pkg-config --modversion glib-2.0

并不是因为glib版本低才无法编译安装gaim,只是
make sure you have the GLib development headers installed.
SO请安装光盘里的 libglib2*i386.rpm
发表于 2004-4-16 11:28:13 | 显示全部楼层
最初由 chenhu 发表
一直出现这个问题,已安装好新版本的glib(是tar.gz)的,可就是没办法告诉系统已安装的是新版本,也就是说怎么更新链接库,我用了ldconfig,好像也没有用处,这是什么原因?

是新手,一直想装QQ,可总是卡在这里,哪位大侠帮一下忙呀?


-_-- tar.gz? chenhu解压缩后就没有管它?那可能是源代码噢

如果确实已经安装好另外的glib版本,可以通过 glib-config命令切换
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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