LinuxSir.cn,穿越时空的Linuxsir!

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

question!!!

[复制链接]
发表于 2004-9-9 16:19:38 | 显示全部楼层 |阅读模式
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.0.7, 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-9-9 16:25:33 | 显示全部楼层
自己先顶下
 楼主| 发表于 2004-9-9 16:42:55 | 显示全部楼层
rpm -e glib2-2.2.1-1
error: Failed dependencies:
        libglib-2.0.so.0 is needed by (installed) pyxf86config-0.3.5-1
        libglib-2.0.so.0 is needed by (installed) authconfig-4.3.4-1
        libglib-2.0.so.0 is needed by (installed) libuser-0.51.7-1
        libglib-2.0.so.0 is needed by (installed) passwd-0.68-3
        libglib-2.0.so.0 is needed by (installed) usermode-1.67-2
        libglib-2.0.so.0 is needed by (installed) atk-1.2.0-2
        libglib-2.0.so.0 is needed by (installed) libIDL-0.8.0-7
发表于 2004-9-9 18:52:39 | 显示全部楼层
rpm -qa|grep glib
看看是否安装了glib-devel
 楼主| 发表于 2004-9-9 19:14:07 | 显示全部楼层
rpm -qa|grep glib
glib-1.2.10-10
glibc-common-2.3.2-11.9
glibc-2.3.2-11.9
glibc-kernheaders-2.4-8.10
glib-devel-1.2.10-10
glibc-devel-2.3.2-11.9
glib2-2.2.1-1
发表于 2004-9-9 20:03:47 | 显示全部楼层
If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH to point to the correct configuration files
 楼主| 发表于 2004-9-10 11:52:59 | 显示全部楼层
quote:
--------------------------------------------------------------------------------
If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH to point to the correct configuration files
--------------------------------------------------------------------------------
不知如何设置,望赐教
发表于 2004-9-11 17:55:32 | 显示全部楼层
在终端运行命令,指定路径,类似:
PKG_CONFIG_PATH='/opt/glibmm/lib/pkgconfig:/opt/gtk/lib/pkgconfig:/opt/gtkmm/lib/pkgconfig:/opt/libsigc++/lib/pkgconfig:/opt/xine-lib/lib/pkgconfig
export  PKG_CONFIG_PATH
然后编译
 楼主| 发表于 2004-9-12 18:42:08 | 显示全部楼层
thx,我再试试!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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