红联Linux门户
Linux帮助

编译gearman提示缺少boost

发布时间:2015-09-04 21:09:07来源:linux网站作者:十年后的卢哥哥

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

即可。


CentOS 5.6 64位下安装配置Gearman:http://www.linuxdiyf.com/linux/6181.html

Linux上安装使用Boost入门指导:http://www.linuxdiyf.com/linux/6396.html