gpt4 book ai didi

compilation - 无法编译 gearman - 配置脚本失败

转载 作者:行者123 更新时间:2023-12-04 04:59:22 25 4
gpt4 key购买 nike

我的系统是 Red Hat Enterprise Linux Server release 5.7 (Tikanga)。

我正在尝试运行配置脚本,但出现以下错误:

checking for the toolset name used by Boost for g++... gcc41 -gcc
configure: Detected BOOST_ROOT; continuing with --with-boost=/raid/users/andrey/3rdParty/boost_1_47/
checking for Boost headers version >= 1.39.0... /users/andrey/3rdParty/boost_1_47/
checking for Boost's header version... 1_47
checking boost/program_options.hpp usability... no
checking boost/program_options.hpp presence... no
checking for boost/program_options.hpp... no
configure: error: cannot find boost/program_options.hpp

configure 的文档说 boost 是一个可选包。所以我尝试在没有提升的情况下构建它:
  configure -with-boost=no

这也不会运行并返回以下错误:
checking for assert... no
checking for the toolset name used by Boost for g++... gcc41 -gcc
configure: Detected BOOST_ROOT=/users/andrey/3rdParty/boost_1_47/, but overridden by --with-boost=no
checking for Boost headers version >= 1.39.0... no

我见过 this question已经,但它似乎对我没有帮助。
有什么想法吗?

最佳答案

在 debian/ubuntu/mint 中,您可以使用:

apt-get   install  libboost-all-dev

关于compilation - 无法编译 gearman - 配置脚本失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16334915/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com