问题: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
greatwall@greatwall-os:/media/raid/boost_1_65_1$ sudo ./bootstrap.sh --prefix=/usr/local/lib/boost
Building Boost.Build engine with toolset gcc... tools/build/src/engine/bin.linuxarm/b2
Detecting Python version... 2.7
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... not found.
Backing up existing Boost.Build configuration in project-config.jam.1
Generating Boost.Build configuration in project-config.jam... Bootstrapping is done. To build, run: ./b2 To adjust configuration, edit 'project-config.jam'.
Further information: - Command line help:
./b2 --help - Getting started guide:
http://www.boost.org/more/getting_started/unix-variants.html - Boost.Build documentation:
http://www.boost.org/build/doc/html/index.html greatwall@greatwall-os:/media/raid/boost_1_65_1$
3.开始安装:
./b2 install