问题:configure: error: "Can't find boost spirit headers"
解决:
推荐:sudo apt-get install libboost-dev
1.下载boost_1_65_1.tar.gz,
链接地址:http://www.boost.org/users/history/version_1_65_1.html
2.编译:
sudo tar -xf boost_1_65_1.tar.gz
cd boost_1_65_1
sudo ./booststrap.sh --prefix=/usr/local/lib/boost
1 greatwall@greatwall-os:/media/raid/boost_1_65_1$ sudo ./bootstrap.sh --prefix=/usr/local/lib/boost 2 Building Boost.Build engine with toolset gcc... tools/build/src/engine/bin.linuxarm/b2 3 Detecting Python version... 2.7 4 Detecting Python root... /usr 5 Unicode/ICU support for Boost.Regex?... not found. 6 Backing up existing Boost.Build configuration in project-config.jam.1 7 Generating Boost.Build configuration in project-config.jam... 8 9 Bootstrapping is done. To build, run: 10 11 ./b2 12 13 To adjust configuration, edit 'project-config.jam'. 14 Further information: 15 16 - Command line help: 17 ./b2 --help 18 19 - Getting started guide: 20 http://www.boost.org/more/getting_started/unix-variants.html 21 22 - Boost.Build documentation: 23 http://www.boost.org/build/doc/html/index.html 24 25 greatwall@greatwall-os:/media/raid/boost_1_65_1$
3.开始安装:
./b2 install