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.
配置yum安装gcc
yum install -y gcc
继续报错
Error when bootstrapping CMake:
Cannot find appropriate C++ compiler on this system.
Please specify one using environment variable CXX.
安装gcc-c++
yum install -y gcc-c++
[root@test src]# tar xzvf cmake-2.8.11.2.tar.gz
[root@test src]# cd cmake-2.8.11.2/
[root@test cmake-2.8.11.2]# ./configure #报错位置
[root@test cmake-2.8.11.2]# make
[root@test cmake-2.8.11.2]# make install