我的系统是 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
我已经看到了这个问题,但它似乎对我没有帮助。任何想法?