1. GCC升级与安装
yum -y install gcc+ gcc-c++
2. boost安装
wget
mkdir boost_install
tar -zxvf boost_1_65_1.tar.gz
cd boost_1_65_1
./bootstrap.sh --prefix=/opt/DEV_gearman/gearman-cpp/boost/boost_install/
./b2 install
3. gearman安装
yum install -y boost-devel gperf libevent-devel libuuid-devel
wget
tar -zxvf gearmand-1.1.12.tar.gz
cd gearmand-1.1.12
./configure --prefix=/opt/DEV_gearman/gearman-cpp/gearmand-install/ --with-boost=/opt/DEV_gearman/gearman-cpp/boost/boost_install/ --with-boost-libdir=/opt/DEV_gearman/gearman-cpp/boost/boost_install/lib/
make
make install
阅读(1346) | 评论(0) | 转发(0) |