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