赞
踩
错误的提示:
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/usr/bin
段错误 (核心已转储)卸载就版本的CMake,重新编译安装CMake:卸载方法:
找到make install之后产生的这个文件install_manifest.txt
里面有安装的所有东西的路径,删除它们即可。
参考命令:cat install_manifest.txt | sudo xargs rm CMake编译安装过程:
下载CMake源码包,解压。
打开CMake的根目录后,
tar zxvf cmake-2.8.5.tar.gz
cd cmake-2.8.5
./bootstrap
make
make install Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。