Shell bjam:无法加载Boost。生成:找不到;推进构建.jam“;

Shell bjam:无法加载Boost。生成:找不到;推进构建.jam“;,shell,boost,centos7,Shell,Boost,Centos7,运行bjam命令时,我总是出现以下错误。 我知道我缺少了设置环境变量之类的东西,但不确定这些环境变量的准确值应该是多少。非常感谢你的帮助 Unable to load Boost.Build: could not find "boost-build.jam" --------------------------------------------------------------- Attempted search from /tmp/libtorrent/libtorrent-rasterb

运行
bjam
命令时,我总是出现以下错误。 我知道我缺少了设置环境变量之类的东西,但不确定这些环境变量的准确值应该是多少。非常感谢你的帮助

Unable to load Boost.Build: could not find "boost-build.jam"
---------------------------------------------------------------
Attempted search from /tmp/libtorrent/libtorrent-rasterbar-1.1.4 up to the root
at /usr/share/boost-build
and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: /tmp/libtorrent/libtorrent-rasterbar-1.1.4/build-aux/.
Please consult the documentation at 'http://www.boost.org'.

您需要构建bjam,它通常位于以下位置:
boost/boost\u x\u xx\u x/tools/jam/src
,但它是在运行
boost/boost\u x\u xx\u x/bootstrap.sh时构建的


尽管这是自动构建的,但您可以通过指定boost/boost\u X\u XX\u X/bootstrap.sh——使用bjam
引导来强制构建它。

对于Arch Linux,您可以安装AUR包