Cmake upgrading error on Ubuntu 14.04

I've installed CMake 3.7.1 package from CMake's website for Linux 64-bit. When I type cmake,I get the following error:

CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in 

SOLUTION:

cd cmake-3.7.1
./bootstrap --prefix=/usr
make
sudo make install

Upgrading process: 

tar -zxvf cmake-3.7.1.tar.gz (in /opt)
cd cmake-3.7.1
sudo apt install openssl libssl-dev
cmake_options="-DCMAKE_BOOTSTRAP=1"
cmake_options="-DCMAKE_BOOTSTRAP=1 -DCMAKE_USE_OPENSSL=ON"
./configure
make -j2
sudo make install

Comments

Popular posts from this blog

yPlus utility in OpenFOAM

wallShearStress in OpenFOAM

Parallel run with Fluent on a HPC cluster