Gearman 提示 A version of Boost >= 1.39 must be installed.
2013-06-10 23:34 游乐场123 阅读(178) 评论(0) 编辑 收藏 举报A version of Boost >= 1.39 must be installed.
- Download epel-release-5-4.noarch.rpm (or suitable version) from http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
- Install the EPEL repo list using “rpm -Uvh epel-release-5-4.noarch.rpm”
- yum install boost141-devel
- ln -s /usr/include/boost141/boost/ /usr/include/boost
- export LDFLAGS=”-L/usr/lib64/boost141”
- export LD_LIBRARY_PATH=/usr/lib64/boost141:$LD_LIBRARY_PATH
- sudo yum install e2fsprogs-devel e2fsprogs
Then:
- yum install gcc44 gcc-c++
原因 貌似是gcc版本过低了
对策:libmemcached-1.0.2 版本以上升级编译器版本,提示还要安装MYSQL的开发库才能编译。
# yum install gcc44 gcc44-c++ libstdc++44-devel
# export CC=/usr/bin/gcc44
# export CXX=/usr/bin/g++44
# ./configure
Compile and install:
./configure
make
sudo make install