Ubuntu source code compilation and installation of cmake-2.8.10.2 fuse, address http://www.cmake.org/cmake/resources/software.html www.2cto.com 1← decompress cmake-2.8.10.2.tar.gz tar-xvf cmake-2.8.10.2.tar.gz2, In the cmake-2.8.10.2 directory at the same level to create a new build directory mkdir cmake-bulid cd cmake-build3, compile cmake .. /. /bootstrap www.2cto.com note: the following error may occur:/usr/lib/libstdc ++. so.6: version 'glibcxx _ 3.4.15 'not found. This is because I updated the ubuntu gcc compiler. Solution: a. Check that libstdc ++. so.6 supports GLIBC strings/usr/lib/libstdc ++. so.6 | grep GLIBCoutput: found that GLIBCXX_3.4.15 is not supported. Here, the author installed gcc 4.7 ls/usr/local/gcc-4.7.2/output in ubuntu: bin include lib libexec share will/usr/local/gcc-4.7.2/lib/directory under libstdc ++. so.6 and libstdc ++. so.6.0.17 copy to/usr/lib/directory: sudo cp/usr/local/gcc-4.7.2/lib/libstdc ++. so.6/usr/lib/sudo cp/usr/local/gcc-4.7.2/lib/libstdc ++. so.6.0.17/usr/lib/sudo rm-f/usr/lib/libstdc ++. so.6.0.13 Delete libstdc ++. create a new link and delete libstdc ++. so.6.0.13: sudo ln-sf/usr/lib/l Ibstdc ++. so.6.0.17/usr/lib/libstdc ++. so.6sudo rm-f/usr/lib/libstdc ++. so.6.0.13. Now let's go back to compiling cmake. Repeat the command: www.2cto.com .././bootstrap. Note: we are still in the cmake-bulid directory. After the above is successful, run the following two Commands: makesudo make install to check whether cmake is successfully installed: cmake -- versionoutput: cmake version 2.8.10.2 congratulations, the installation is successful.