AndreasMadsen / my-setup

Guides for myself and other, on how some of my stuff is configured.
6 stars 5 forks source link

Update README.md #2

Closed FrederikWR closed 8 years ago

FrederikWR commented 8 years ago

Added small section describing what to do if installation throws errors like " your cmake version is too old"

AndreasMadsen commented 8 years ago

Nice :+1: As suspected the bundled CMake version is very old.

However you should just add it to the setup-python3.sh file. Before https://github.com/AndreasMadsen/my-setup/blob/master/dtu-hpc-python3/setup-python3.sh#L139 should suffice.

You can add this for full automation:

wgetretry https://cmake.org/files/v3.5/cmake-3.5.0.tar.gz
tar -zxvf cmake-3.5.0.tar.gz
cd cmake-3.5.0
./configure --prefix=$HOME
make
make install
cd $HOME
rm -rf cmake-3.5.0