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++


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM