Ubuntu build results in "Segmentation fault"
Hi,
I'm trying to update my CMake version from 3.16 to the latest one on Ubuntu 20.04.
My first attempt was using sudo apt-get install cmake
; this results in the following output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version (3.16.3-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
Then, I tried the following (based on this Stackexchange):
cd $CMAKE_DOWNLOAD_PATH
./configure
make
sudo make install
However I got stuck on make
, I'm getting the following error message:
Any ideas on how to fix this? (or another way to update CMake on Ubuntu?)