编译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

即可

原文地址:https://www.cnblogs.com/lurenjiashuo/p/gearman-no-boost.html