我使用的是ubuntu 10.04,使用gcc工具集版本4.4.3
我的加速安装位于
/usr/local/boost_1_50_0
我希望构建python库。为此,在我指示的安装文件夹中
sudo ./bootstrap.sh --with-libraries=python
我收到了以下回复
Building Boost.Build engine with toolset gcc... tools/build/v2/engine/bin.linuxx86/b2
Detecting Python version... 2.6
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... not found.
Backing up existing Boost.Build configuration in project-config.jam.6
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/boost-build2/doc/html/index.html
aditya@aditya:/usr/local/boost_1_50_0$ g++ --version
g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
然后我执行
sudo ./b2
然后我收到了许多构建错误 - 基本上没有构建。
我怀疑这与某些python开发库的不可用性有关。
这台机器没有连接到互联网,所以我需要自己构建这些(而不是sudo apt-get安装它们)。