[CentOS] can't install rrdtool, problems with dependancies

Rudi Ahlers

rudiahlers at gmail.com
Fri Jan 23 11:17:39 UTC 2009


Hi all,

I have tried to install rrdtool manually, but have noticed that I need
perl-rrdtool as well for it to work, and I have approached this the
wrong way.

So, instead of installing rpmforge first, I have downloaded the
rrdtool from sourceforge and installed it the old-fashioned way,
totally forgot about rpmforge.

So, now I want to remove it, and install it via rpmforge in order to
get perl-rrdtool installed as well.

The steps I initially took was:


yum install cairo-devel libxml2-devel pango-devel pango libpng-devel
freetype freetype-devel libart_lgpl-devel

# cd /opt/
# wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.1.tar.gz
# tar -zxvf rrdtool-1.3.1.tar.gz
# export PKG_CONFIG_PATH=/usr/lib/pkgconfig/
# ./configure
# make
# make install
# cd /usr/local/
# ln -s rrdtool-1.3.1/ rrdtool/
# cd rrdtool
# ls -l

I got the instructions here,
http://www.cyberciti.biz/faq/howto-install-rrdtool-on-rhel-linux/,
which originally came from here:
http://www.cyberciti.biz/faq/howto-install-ntop-on-rhel-centos-fedora-linux/


BUT, now that I want to move on, I can't. When I try and install /
update / remove either ntop or rrdtool via yum, I get the following
errors:



sh-3.2# yum install rrdtool-devel rrdtool
Loading "fastestmirror" plugin
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * rpmforge: apt.sw.be
 * base: ftp.is.co.za
 * updates: ftp.is.co.za
 * addons: ftp.is.co.za
 * extras: ftp.is.co.za
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package rrdtool-devel.x86_64 0:1.2.29-1.el5.rf set to be updated
---> Package rrdtool.x86_64 0:1.2.29-1.el5.rf set to be updated
--> Processing Dependency: perl(RRDp) for package: rrdtool
--> Processing Dependency: perl(RRDs) for package: rrdtool
--> Finished Dependency Resolution
Error: Missing Dependency: perl(RRDp) is needed by package rrdtool
Error: Missing Dependency: perl(RRDs) is needed by package rrdtool




I have tried to remove rrdtool, as follows

# cd /opt/rrdtool
# make uninstall

Yet the errors are still the same.


So, how else can I get this working?

-- 

Kind Regards
Rudi Ahlers



More information about the CentOS mailing list