Installing cmake 2.8.12 on CentOS 5.11

Issues related to software problems.
Post Reply
GibsonPaul
Posts: 4
Joined: 2015/10/16 19:08:58

Installing cmake 2.8.12 on CentOS 5.11

Post by GibsonPaul » 2015/10/16 20:08:59

I'm a newbie to CentOS (and *nix in general), so please forgive me if I miss something obvious. I'm a Windows network administrator by profession who's been assigned to support a few CentOS virtual machines.

The company I work for does software development, mostly on Windows but the project I'm currently supporting has had a customer request to get the software running on CentOS. The person who brought this to my attention said cmake 2.8.12.2 is required, but it needs to run on CentOS 5.11, 64 bit(which is what the customer runs). Because of the security requirements we have to follow, upgrading CentOS isn't a practical option. When I try to install it I get error messages, one of which implies to me a dependency requires a newer kernel.

Here's what I tried
download cmake-2.8.12.2-e.el6.i686.rpm and cmake-2.8.12.2-e.el6.x86_64.rpm
use createrepo to point to the folder they're in
yum clean all
point Package Manager to my new repo
use Package Manager to select cmake-2.8.12.2-e.el6.i686.rpm
Note: cmake-2.8.12.2-e.el6.x86_64.rpm didn't show up
Error resolving dependencies

I get a list of 8 dependencies which can't be resolved. I tried mounting a CentOS 6.7 DVD to see if I could get the dependencies off of that (I do use VM snapshots). Then I get a much longer list of dependencies with a few errors
udisks conflicts with kernel
initscripts conflicts with NetworkManager
authconfig conflicts with nss_ldap

As far as I can tell, cmake 2.8.12.2 is for CentOS 6, not 5 (is that the el5 and el6 in the file names?). Is it possible to run this on 5.11? If it is possible, how can I get this to work?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Installing cmake 2.8.12 on CentOS 5.11

Post by gerald_clark » 2015/10/16 23:23:02

Just do a 'yum install cmake'.
I suggest you read the RHEL documentation at https://access.redhat.com/knowledge/docs/

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installing cmake 2.8.12 on CentOS 5.11

Post by TrevorH » 2015/10/17 13:48:49

You and your customer should be aware that CentOS 5 goes EOL in approximately 18 months so they'd better start making plans to migrate to something newer soon.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: Installing cmake 2.8.12 on CentOS 5.11

Post by remirepo » 2015/10/17 14:23:37

There is a "cmake28" package in EPEL-5 (base system only have 2.6)
Remi's Repository - Forum - Blog

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Installing cmake 2.8.12 on CentOS 5.11

Post by gerald_clark » 2015/10/17 15:32:49

You can't install el6 rpms on an el5 system.
I missed the cmake version difference because an el6 rpm was being referenced.

Post Reply