linux自动化构建工具-scons指南

1.scons是linux下的自动构建工具

scons是用Python编写的,使用scons之前需确认是否已经安装了Python。(在系统的命令行中运行python -V或python --version)。

 

2.安装过程如下

wget http://prdownloads.sourceforge.net/scons/scons-2.2.0.tar.gz .
 
tar zxvf scons-2.2.0.tar.gz
 
cd scons-2.2.0
 
python setup.py install

 

3.编译过程如果出现如下错误:Checking whether the C++ compiler worksno C++ compiler None does not work

极可能是没有安装c++ compiler

安装以下c++ compiler

$ yum install gcc gcc-c++

posted @ 2016-12-08 19:18  nerocloud  阅读(2746)  评论(0编辑  收藏  举报