我正在尝试在 ubuntu 12.04 上构建 boost:python 示例。我从包管理器(不是从源代码)安装了库。我之前也没有使用过 boost,也没有为此设置任何环境变量(BOOST_BUILD_PATH 未设置)。我收到此错误:
/usr/share/doc/libboost1.46-doc/examples/libs/python/example/tutorial$ bjam --debug-configuration
notice: found boost-build.jam at /usr/share/doc/libboost1.46-doc/examples/libs/python/example/boost-build.jam
Unable to load Boost.Build: could not find build system.
---------------------------------------------------------
/usr/share/doc/libboost1.46-doc/examples/libs/python/example/boost-build.jam attempted to load the build system by invoking
'boost-build ../../../tools/build/v2 ;'
but we were unable to find "bootstrap.jam" in the specified directory
or in BOOST_BUILD_PATH (searching /usr/share/doc/libboost1.46-doc/examples/libs/python/example/../../../tools/build/v2, /usr/share/boost-build).
Please consult the documentation at 'http://www.boost.org'.
我该如何解决?我应该将 BOOST_BUILD_PATH 指向哪里?