configure: error: cannot find Boost headers version >= 1.39.0

安装gearmand的时候,报如下错误信息:(系统版本:redhat5.6,软件版本:gearmand-1.1.7)

checking for Boost headers version >= 1.39.0… no

configure: error: cannot find Boost headers version >= 1.39.0
解决办法:
yum remove boost*

yum install boost141 boost141- libevent-devel* libevent

cd /usr/lib/boost141 && /bin/cp -rf * ../

cd /usr/lib64/boost141 && /bin/cp -rf * ../

cd /usr/include && ln -s boost141/boost/
然后重新编译就ok了。