我正在使用带有 gcc 工具集版本 4.4.3 的 ubuntu 10.04
我的升压安装在
/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 install 它们)。