[CentOS] install rrdtools-devel / rrdtool-perl

Leandro ingrogger at gmail.com
Thu Nov 26 17:14:54 UTC 2015


I will expand a little bit more.

I need to install nfdump,
when I beggin installation process:
[root at 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 at 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 at 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.







On 26/11/15 13:01, John Hodrien wrote:
> On Thu, 26 Nov 2015, Leandro wrote:
>
>> 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.
>
> You've done something very wrong, as these are in base.  Have you perhaps
> installed an rrdtool of a newer version from elsewhere?
>
> jh
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos




More information about the CentOS mailing list