CMake安装(linux)

环境:CentOS6.5

1、下载网址:

http://www.cmake.org/download/ (选择linux版本,编译安装)

2、安装

# tar zxvf cmake-3.2.1.tar.gz 

  # cd cmake-3.2.1

  # ./bootstrap --prefix=/usr/local/cmake

  # gmake

  # gmake install

  # cmake --version

 注意:安装方法也有

  # ./configure

  # make && mamke install

3、可能出现的错误:

configure: error: in `/usr/local/src/make-4.1':  

configure: error: no acceptable C compiler found in $PATH

解决方法:

# yum -y install gcc

4、几个参考网址:

cmake入门指南:http://www.cnblogs.com/sinojelly/archive/2010/05/22/1741337.html

cmake学习笔记:http://blog.csdn.net/dbzhang800/article/details/6314073

cmake快速入门:http://www.360doc.com/content/12/0507/10/9369336_209205930.shtml

安装MySQLhttp://tec110505.diandian.com/post/2011-08-23/4225393

posted @ 2015-04-12 09:06  VNX  阅读(318)  评论(0编辑  收藏  举报