Install Rrdtools-devel / Rrdtool-perl

Home » CentOS » Install Rrdtools-devel / Rrdtool-perl
CentOS 8 Comments

Hi guys , Im have some problems installing the following packages:
rrdtool-devel rrdtool-perl

Before we moved to CentOS/rhel7 it was a simple task, just doing:
yum install rrdtool rrdtool-devel and rrdtool-perl was enough.

Now, I only can install the rrdtool package but not rrdtool-devel and rrdtool-perl. I tryed adding some repos, but I think I added wrong ones. Also tryed downloading and installing packages with rpm -ivh but there is allwais a missing dependence.

Can you help me ?
Thanks.

8 thoughts on - Install Rrdtools-devel / Rrdtool-perl

  • You’ve done something very wrong, as these are in base. Have you perhaps installed an rrdtool of a newer version from elsewhere?

    jh

  • I will expand a little bit more.

    I need to install nfdump, when I beggin installation process:
    [root@ARM-LXMON01 nfdump-1.6.13]# ./configure \–prefix=/usr/local
    \–sysconfdir=/etc \–mandir=/usr/share/man \–enable-nfprofile
    \–enable-nftrack \–enable-sflow \–enable-nsel

    checking for rrd_update in -lrrd… no configure: error: Can not link librrd. Please specify –with-rrdpath=.. configure failed!

    I do:
    [root@ARM-LXMON01 nfdump-1.6.13]# find / -name librrd*
    /usr/lib64/librrd.so.4
    /usr/lib64/librrd.so.4.2.1
    /usr/lib64/librrd_th.so.4
    /usr/lib64/librrd_th.so.4.2.1
    [root@ARM-LXMON01 nfdump-1.6.13]#

    So Then I do:
    ./configure –prefix=/usr/local –sysconfdir=/etc
    –mandir=/usr/share/man –enable-nfprofile –enable-nftrack
    –enable-sflow –enable-nsel –with-rrdpath=/usr/lib64/librrd.so.4

    But It doesnot work either. configure: error: in `/usr/local/src/nfdump-1.6.13′:
    configure: error: C preprocessor “/lib/cpp” fails sanity check

    I remember , I solved this issue in my CentOS 6 , after install rrdtool-devel and rrdtool-perl packages. Can I try domething else ?
    Regards. Leandro.

  • You shouldn’t need to, no.

    I’m guessing you’ve got a cruddy version installed from somewhere else, else the yum install would have just worked, but I’m just guessing as you’ve not posted anything to say what happened when you tried the yum install.

    rpm -q rrdtool

    Possibly:

    yum –disablerepo=\* –enablerepo

  • Im very sorry. You were right, yum install works flawlessly for rrdtool, rrdtool-devel and rrdtool-perl packages. I tryed on a fresh CentOS7 install. The problem is that my Os is not a CentOS7 instead is a redhat 7. Since I dont have any support for this , I asked some help here. I
    thought that repositories are the same for fedora,redhat and CentOS. My mistake … I dont know what to do now.

    Thankyou!!

  • don’t run RHEL without a support contract, or there’s no access to the base repositories or security fixes or anything.

  • RHEL uses RHN for system updates etc. You will need the following reops enabled for those files:
    Red Hat Enterprise Linux 7 Server (RPMs)
    Red Hat Enterprise Linux 7 Server – Optional (RPMs)

    To access RHN you will need a support agreement with Red Hat. You could use the packages from CentOS, but it would be better to just rebuild the server if you are going down that route.

    Tris

    *************************************************************
    This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster@bgfl.org

    The views expressed within this email are those of the individual, and not necessarily those of the organisation
    *************************************************************

  • long ago, far away, I successfully converted several RHEL boxes to CentOS by making a list of all the RPMs and replacing them with the CentOS equivalents, after removing the RHN related packages and manually installing the CentOS equivalents. But I think it was RHEL 3 or 4 when I last did this.

  • I’ve done the same in with RHEL5 and it worked fine, but its not something I’d do to a production system.

    Tris

    *************************************************************
    This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster@bgfl.org

    The views expressed within this email are those of the individual, and not necessarily those of the organisation
    *************************************************************