LinuxSir.cn,穿越时空的Linuxsir!

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

有谁在Centos5.2下安装gmlive0.20.3以上版本成功?(已解决)

[复制链接]
发表于 2008-12-22 21:30:12 | 显示全部楼层 |阅读模式
centos5.2系统,以前安装gmlive0.20.2时没什么问题,可是到0.20.3或0.21.1时就装不上了,
问题如下:
(1)用./configure时提示错误:
checking for PACKAGE... configure: error: Package requirements (gtkmm-2.4 >= 2.6.0 libglademm-2.4 >= 2.4.0 libxml-2.0 >= 2.6.0 giomm-2.4 >= 2.6.0) were not met:

No package 'giomm-2.4' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

可是怎么也找不到giomm的软件包(gtkmm24,libglademm24,libxml已安装)?需要安装什么包才能解决?

若使用./autogen.sh,提示:
[root@bogon gmlive-0.21.1]# ./autogen.sh
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
  testing autoconf2.50... not found.
  testing autoconf... found 2.59
checking for automake >= 1.8...
  testing automake-1.8... not found.
  testing automake-1.9... found 1.9.6
checking for libtool >= 1.4.3...
  testing libtoolize... found 1.5.22
checking for glib-gettext >= 2.2.0...
  testing glib-gettextize... found 2.12.3
checking for intltool >= 0.25...
  testing intltoolize... found 0.35.0
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.21
Checking for required M4 macros...
Checking for forbidden M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Processing ./configure.in
Running libtoolize...
You should update your `aclocal.m4' by running aclocal.
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize...
Running aclocal-1.9...
aclocal:configure.in:43: warning: macro `AM_PATH_PROG_WITH_TEST' not found in library
configure.in:4: error: Autoconf version 2.60 or higher is required
configure.in:4: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal-1.9: autom4te failed with exit status: 63

下载autoconf-2.60-1.noarch.rpm(yum官方源,rpmforge,epel源里的最高版本为2.59)安装提示

[root@bogon Desktop]# rpm -ivh autoconf-2.60-1.noarch.rpm
warning: autoconf-2.60-1.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 1bbd5459
error: Failed dependencies:
        m4 = 2:1.4q is needed by autoconf-2.60-1.noarch
        perl-base is needed by autoconf-2.60-1.noarch
        perl-base >= 0:5.000 is needed by autoconf-2.60-1.noarch
        perl-base >= 0:5.005 is needed by autoconf-2.60-1.noarch
        perl-base >= 0:5.005_03 is needed by autoconf-2.60-1.noarch
        perl-modules is needed by autoconf-2.60-1.noarch

然后yum intall perl-base perl-modules
提示
Transaction Check Error:
  file /usr/share/man/man3/base.3pm.gz from install of perl-base-2.12-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man3/fields.3pm.gz from install of perl-base-2.12-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_0.2
下面就没招了,不知道怎么样才能安装成功?
哪位成功安装过的帮忙一下
发表于 2008-12-23 10:37:29 | 显示全部楼层
似乎centos 5 的库不叫giomm,叫glibmm,你自己改一下configure应该就可以了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-23 20:11:12 | 显示全部楼层
谢谢楼上的指点,终于安装成功了
回复 支持 反对

使用道具 举报

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

本版积分规则

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