[CMake] newbee on cmake/installing problem

Michael Wild themiwi at gmail.com
Thu Dec 10 08:22:48 EST 2009


Just to be very clear and to avoid misunderstandings, I'm going to walk you through the steps of installing CMake. Comments will be prefixed by a # sign.

# create a download directory
mkdir -p ~/Downloads

# change directory to the downloads location
cd ~/Downloads

# do the actual download (or place the .tar.gz file in ~/Downloads)
wget http://www.cmake.org/files/v2.8/cmake-2.8.0.tar.gz

# unpack it
tar xzf cmake-2.8.0.tar.gz

# create a build directory and cd there
mkdir cmake-2.8.0-build
cd cmake-2.8.0-build

# bootstrap cmake (replace the prefix directory)
sh ../cmake-2.8.0/bootstrap --prefix=$HOME/software

# build and install cmake
make
make install

# make it available (if $PREFIX/bin not in PATH and using bash shell)
echo "export PATH=$HOME/software/bin:$PATH" >> ~/bashrc
. ~/.bashrc


I hope this helps

Michael

On 10. Dec, 2009, at 12:20 , ZOE KAPETAKI wrote:

> Hi,
> 
> I am trying to build Sundials (the version is 2.4) so I have to install CMake first. I am trying to install it on unix and I
> have downloaded and untared CMake-2.8.0.tar and CMake-2.8.0.tar.gz. I am
> using this page for instructions: 
> http://www.cmake.org/cmake/help/install.html
> but when I type ./bootstrap I get the message ./bootstrap: bad
> interpreter : Permission denied. What do you think I am doing wrong? (I tried the FAQs as well but unfortunately, they are too advanced for me :( )
> 
> Thanks,
> 
> Zoe
> 
> 
> 
> 
> ___________________________________________________________ 
> Χρησιμοποιείτε Yahoo!; 
> Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
> διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
> μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list