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.
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
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.
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@centos.org https://lists.centos.org/mailman/listinfo/centos
On Thu, 26 Nov 2015, Leandro wrote:
I remember , I solved this issue in my centos 6 , after install rrdtool-devel and rrdtool-perl packages. Can I try domething else ?
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=base downgrade rrdtool yum --disablerepo=* --enablerepo=base install rrdtool-devel rrdtool-perl
This may also clear up where you are: yum list rrdtool --show-duplicates
jh
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!!
On 26/11/15 14:20, John Hodrien wrote:
yum list rrdtool --show-duplicates
On 11/26/2015 9:58 AM, Leandro wrote:
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.
don't run RHEL without a support contract, or there's no access to the base repositories or security fixes or anything.
On 26/11/2015 17:58, Leandro wrote:
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!!
On 26/11/15 14:20, John Hodrien wrote:
yum list rrdtool --show-duplicates
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
This message has been checked for viruses by the Birmingham Grid for Learning. For guidance on good e-mail practice, e-mail viruses and hoaxes please visit: http://www.bgfl.org/emailaup
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 *************************************************************
On 11/26/2015 10:18 AM, Tris Hoar wrote:
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.
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.
On 26/11/2015 18:22, John R Pierce wrote:
On 11/26/2015 10:18 AM, Tris Hoar wrote:
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.
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 *************************************************************
what I did is to take note of exaclty the same package that were installed on mi centos 7. Then I download the 3 packages on my rhel , and installed in the same order with rpm. I worked ... Thanks.
On 26/11/15 15:24, Tris Hoar wrote:
On 26/11/2015 18:22, John R Pierce wrote:
On 11/26/2015 10:18 AM, Tris Hoar wrote:
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.
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
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 27/11/15 05:54, Leandro wrote:
what I did is to take note of exaclty the same package that were installed on mi centos 7. Then I download the 3 packages on my rhel , and installed in the same order with rpm. I worked ... Thanks.
It's always better to consistently use yum to install packages, otherwise your RPMDB will go out of sync!
For next time: cd /path/to/downloaded/rpms yum localinstall *.rpm
AK.