【问题标题】:bjam: Unable to load Boost.Build: could not find "boost-build.jam"bjam:无法加载 Boost.Build:找不到“boost-build.jam”
【发布时间】:2018-01-15 10:36:19
【问题描述】:

运行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'.

【问题讨论】:

    标签: shell boost centos7


    【解决方案1】:

    您需要构建 bjam,通常位于:boost/boost_x_xx_x/tools/jam/src,但在运行 boost/boost_X_XX_X/bootstrap.sh 时会构建。

    虽然这是自动构建的,但您可以通过在引导程序上指定 boost/boost_X_XX_X/bootstrap.sh --with-bjam 来强制它构建。

    【讨论】:

      【解决方案2】:

      如果是 Arch Linux,您可以安装 AUR boost-build 包。

      【讨论】:

        猜你喜欢
        • 2013-12-04
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-02-26
        • 2013-06-10
        • 2015-06-01
        相关资源
        最近更新 更多