解决rrdtool依赖问题

前端之家收集整理的这篇文章主要介绍了解决rrdtool依赖问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

系统环境centos 5.5 x64位

在安装系统时安装了开发包

RRdtool最新版现在地址

http://oss.oetiker.ch/rrdtool/download.en.html

在安装RRDtool时出现好多错误

如果提示

perl-DBI这个错误,直接挂载光盘然后找到perl-DBI-1.52-2.el5.x86_64.rpm

这个包安装就OK了。rpm -ivh perl-DBI-1.52-2.el5.x86_64.rpm

我们需要下载一下这些安装包

rpm -ivh perl-rrdtool-1.4.4-1.el5.rf.x86_64.rpm rrdtool-1.4.4-1.el5.wrl.x86_64.rpm rrdtool-devel-1.4.4-1.el5.wrl.x86_64.rpm rrdtool-ruby-1.4.4-1.slc5.wrl.x86_64.rpm

warning: perl-rrdtool-1.4.4-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY,key ID 6b8d79e6
error: Failed dependencies:
ruby is needed by rrdtool-1.4.4-1.wrl.x86_64
libruby.so.1.8()(64bit) is needed by rrdtool-ruby-1.4.4-1.wrl.x86_64
ruby-devel is needed by rrdtool-ruby-1.4.4-1.wrl.x86_64
但会提示如下错误
这个需要安装
ruby
ruby-devel
libruby.so.1.8
这些包需要挂载centos 5.5 DVD 安装盘在安装盘
root@nagios CentOS]# rpm -ivh ruby-1.8.5-5.el5_4.8.x86_64.rpm ruby-devel-1.8.5-5.el5_4.8.x86_64.rpm ruby-libs-1.8.5-5.el5_4.8.x86_64.rpm
warning: ruby-1.8.5-5.el5_4.8.x86_64.rpm: Header V3 DSA signature: NOKEY,key ID e8562897
Preparing... ########################################### [100%]
1:ruby-libs ########################################### [ 33%]
2:ruby ########################################### [ 67%]
3:ruby-devel ########################################### [100%]
[root@nagios CentOS]# ls
然后在执行下面的命令
[root@nagios soft]# rpm -ivh perl-rrdtool-1.4.4-1.el5.rf.x86_64.rpm rrdtool-1.4.4-1.el5.wrl.x86_64.rpm rrdtool-devel-1.4.4-1.el5.wrl.x86_64.rpm rrdtool-ruby-1.4.4-1.slc5.wrl.x86_64.rpm
warning: perl-rrdtool-1.4.4-1.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY,key ID 6b8d79e6
Preparing... ########################################### [100%]
1:rrdtool ########################################### [ 25%]
2:perl-rrdtool ########################################### [ 50%]
3:rrdtool-devel ########################################### [ 75%]
4:rrdtool-ruby ########################################### [
最后别忘了测试一下
[root@nagios soft]# rrdtool
RRDtool 1.4.4 Copyright 1997-2010 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Aug 1 2010 20:00:13
Usage: rrdtool [options] command command_options
Valid commands: create,update,updatev,graph,graphv,dump,restore,
last,lastupdate,first,info,fetch,tune,
resize,xport,flushcached
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)
For more information read the RRD manpages
原文链接:https://www.f2er.com/javaschema/287228.html

猜你在找的设计模式相关文章