centos安装thrift

发布时间:2022-11-26 23:05:34 阅读:1014次

安装 thrift 依赖库
开发工具集

$ sudo yum -y groupinstall "Development Tools"
安装 autoconf

$ sudo yum -y install autoconf
安装 automake

$ sudo yum -y install automake
安装 bison

$ sudo yum -y install bison
安装 C++ 依赖库

$ wget http://iweb.dl.sourceforge.net/project/boost/boost/1.60.0/boost_1_60_0.tar.gz
$ tar zxvf boost_1_60_0.tar.gz
$ ./bootstrap.sh --prefix=/usr
./b2 install
cd ..
安装 libevent 库

$ sudo yum -y install libevent
4.2)安装 thrift
$ wget https://github.com/apache/thrift/archive/master.zip
$ unzip master.zip
$ cd thrift-master
$ ./bootstrap.sh
$ ./configure --with-boost=/usr/local
$ make && make install
这样我们的 thrift 安装成功了。

如有问题,可以QQ搜索群1028468525加入群聊,欢迎一起研究技术

支付宝 微信

有疑问联系站长,请联系QQ:QQ咨询

转载请注明:centos安装thrift 出自老鄢博客 | 欢迎分享