Open gradyoti opened 9 years ago
The CMake version in the apt repo is 2.8, but we need 3.0.
The README will have to be updated to indicate that (at least for Debian-based distros) you can't simply apt-get the required CMake package.
The following script works: export fn=/tmp/cmake.sh && ls $fn && (echo "use previous $fn? Enter for yes, ctrl+d for no." && read) || (wget -O $fn http://www.cmake.org/files/v3.0/cmake-3.0.2-Linux-i386.sh 1>&2) && (cd /opt && sudo bash ${fn} && echo sudo ln -f -s /opt/cmake*/bin/cmake /usr/bin/cmake && cd -)
The CMake version in the apt repo is 2.8, but we need 3.0.
The README will have to be updated to indicate that (at least for Debian-based distros) you can't simply apt-get the required CMake package.
The following script works: export fn=/tmp/cmake.sh && ls $fn && (echo "use previous $fn? Enter for yes, ctrl+d for no." && read) || (wget -O $fn http://www.cmake.org/files/v3.0/cmake-3.0.2-Linux-i386.sh 1>&2) && (cd /opt && sudo bash ${fn} && echo sudo ln -f -s /opt/cmake*/bin/cmake /usr/bin/cmake && cd -)