QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 734|回复: 7

关于安装GLib的问题,请大家帮忙.

[复制链接]
发表于 2004-2-18 11:41:06 | 显示全部楼层 |阅读模式
怎么升级GLIB到2.0?

rpm -qa |grep glib
glib-1.2.10-10
glibc-kernheaders-2.4-8.10
glibc-common-2.3.2-27.9.7
glibc-devel-2.3.2-27.9.7
glib2-2.2.1-1
glibc-2.3.2-27.9.7

或者是我装错了?我用的是REDHAT9
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
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/.
[root@hantrix gaim-0.76cvs-qq-0.2-final-src]# make
make: *** No targets specified and no makefile found.  Stop.
发表于 2004-2-18 12:11:58 | 显示全部楼层
您需要的应该是:glib2-devel
回复

使用道具 举报

 楼主| 发表于 2004-2-18 12:43:27 | 显示全部楼层
glib2-devel

这个DEVEL 表示的是什么意思?
回复

使用道具 举报

 楼主| 发表于 2004-2-18 12:49:54 | 显示全部楼层
现在是这个情况,怎么出力再?

checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.3.0)
*** 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

rpm -qa |grep glib
glib-1.2.10-10
glibc-kernheaders-2.4-8.10
glibc-common-2.3.2-27.9.7
glibc-devel-2.3.2-27.9.7
glib-2.3.0-1
glib2-2.2.1-1
glib2-devel-2.2.1-1
glibc-2.3.2-27.9.7
回复

使用道具 举报

发表于 2004-2-18 13:17:51 | 显示全部楼层
昨天一个同学安装gaim0.75的时候也遇到这个问题,应该是你的redhat 9的开发工具没有安装完~

在软件包安装中加上就ok l了~`


PS:  0.75gaim用msn要求SSL连接,但是可以使用gaim0.76cvs+qq登陆QQ (系统是redhat9)
         
另外出现问题: 0.75gaim可以登陆msn,但是不能用0.76gaim cvs +qq登陆QQ !!(系统是红旗4)

why ????
回复

使用道具 举报

发表于 2004-2-18 14:21:49 | 显示全部楼层
[quote:36bdb4282b="elfeof123"]现在是这个情况,怎么出力再?

checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.3.0)
*** 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

rpm -qa |grep glib
glib-1.2.10-10
glibc-kernheaders-2.4-8.10
glibc-common-2.3.2-27.9.7
glibc-devel-2.3.2-27.9.7
glib-2.3.0-1
glib2-2.2.1-1
glib2-devel-2.2.1-1
glibc-2.3.2-27.9.7[/quote]


checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.3.0)
*** was found!

glib-1.2.10-10
glib-2.3.0-1
glib2-2.2.1-1
glib2-devel-2.2.1-1

你没事做了,尽瞎整。  


我的:

[code:1]2004年02月18日下午13时47分40秒[root@test gugong]# rpm -qa|grep glib|grep -v glibc
glib2-2.2.3-2.0
glib-devel-1.2.10-11.1
bglibs-1.009-1
glib-1.2.10-11.1
glib2-devel-2.2.3-2.0
2004年02月18日下午13时47分42秒[root@test gugong]#
[/code:1]
回复

使用道具 举报

发表于 2004-4-17 18:28:16 | 显示全部楼层
我也碰到这个问题,那位高手能说一下吗????
回复

使用道具 举报

发表于 2004-4-17 18:39:37 | 显示全部楼层
[quote:d26cd457a3="elfeof123"]glib2-devel

这个DEVEL 表示的是什么意思? [/quote]
develop
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-17 07:23 , Processed in 0.040305 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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