[CMake] install cmake on centos5

Jean-Christophe Roux jcxxr at yahoo.com
Tue Jun 26 21:08:48 EDT 2007


Eric, Matthew,

Thank your for your advice. I found an rpm package at
http://atrpms.net/dist/el5/cmake/
that did the trick
Regards


----- Original Message ----
From: Matthew Smith <indigojo at blogistan.co.uk>
To: Jean-Christophe Roux <jcxxr at yahoo.com>
Cc: cmake at cmake.org
Sent: Tuesday, June 26, 2007 7:15:09 PM
Subject: Re: [CMake] install cmake on centos5

Jean-Christophe Roux wrote:
> Hello,
> 
> I need to install CMake on Centos5. yum install cmake returning nothing, 
> I dowloaded Linux i386cmake-2.4.6-Linux-i386.sh 
> <http://www.cmake.org/files/v2.4/cmake-2.4.6-Linux-i386.sh>
> This created a folder  cmake-2.4.6-Linux-i386 with a bin, a doc, a man 
> and a share folder. No README file with instructions. What should I do? 
> I copied bin/cmake to /usr/bin/ but then I am said:
> CMake Error: Could not find CMAKE_ROOT !!!
> CMake has most likely not been installed correctly,
> which I am quite willing to believe is the situation. Where shoud I go 
> to find instructions

Before you try installing from source, I'd suggest checking RPM 
databases like rpmfind.net and rpm.pbone.net to see if there is a RPM 
out there.  There probably is, most likely in an extras repository.  You 
may also find that the KDE Redhat project has a binary (kde-redhat.sf.net).

The chances are that the binary download you have installs into /usr, 
hence the bin and share folders.  Copy all the folders, as root, to /usr 
and then see if it works (i.e. "cp -R * /usr").

Regards,

Matt Smith

-- 

http://www.blogistan.co.uk/qt/







      ____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070626/4579460c/attachment.html


More information about the CMake mailing list