I am using Ubuntu 18.04 and I am trying to install cmake
by executing the command:
./bootstrap
But I am getting an error:
Error when bootstrapping CMake:
Cannot find appropriate C compiler on this system.
Please specify one using environment variable CC.
See cmake_bootstrap.log for compilers attempted.
I have gcc
and g++
version 4.8.5 installed. When I run:
sudo./bootstrap
I get the following error:
CMake 3.19.0, Copyright 2000-2020 Kitware, Inc. and Contributors
Found GNU toolchain
C compiler on this system is: gcc
C++ compiler on this system is: g++ -std=gnu++1y
---------------------------------------------
Error when bootstrapping CMake:
Cannot find appropriate Makefile processor on this system.
Please specify one using environment variable MAKE.
Please help me resolve this error and install cmake
.
You need to install
make
before installingcmake
: