I. Environment Description
1. System: centos 6.4 i386 (min)
2. Login User: Root
3. Version: cmake 2.8.10.2
4. Virtual Machine: Oracle VM virtualbox
Ii. Installation Steps
Step 1. Install gccProgramPackage (skip this step if you have installed the package)
Yum Install-Y gcc gcc-C ++ make automake
Step 2. Install wget (skip this step if you have installed wget)
Yum Install-Y wget
Step 3. Obtain the cmake source package
WgetHttp://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz
Step 4. decompress the cmake source package
Tar-Zxvf cmake-2.8.10.2.tar.gz
Step 5. Enter the Directory
CD cmake-2.8.10.2
Step 6
./Bootstrap
Step 7
Gmake
Step 8
GmakeInstall
After the installation is complete, read install_manifest.txt to view what is installed.
Iii. Exceptions
If an error is reported in step 6, the possible cause is that the associated package is not installed. Work und: after installing the required package, remove cmakecache.txt from the cmake-2.8.10.2/directory and start with Step 6.