编译gearman提示缺少boost

编译german时提示缺少boost:

checking for boostlib >= 1.39... configure: We could not detect the boost libraries (version 1.39 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
configure: error: could not find boost

解决办法

# yum install -y boost boost-devel

即可

posted @ 2014-11-04 18:25  观海云不远  阅读(1211)  评论(0编辑  收藏  举报