安装thrift 0.9.3

本文详细介绍了如何从源代码安装Thrift 0.9.3版本,包括下载安装包、解压、依赖安装、配置、编译及安装等步骤。特别注意,若在配置过程中遇到libcrypto缺失的错误,可通过yum安装openssl和openssl-devel来解决。

1.下载安装包:thrift-0.9.3.tar.gz

2.解压:]# tar xvzf thrift-0.9.3.tar.gz

   得到:thrift-0.9.3目录

3.yum安装:# yum install boost-devel-static libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev ant

4. 运行软件根目录下的configure脚本:# ./configure --with-cpp --with-boost --with-python --without-csharp --with-java --without-erlang --without-perl --without-php --without-php_extension --without-ruby --without-haskell --without-go

如果在此第四步baoc报错:configure: error: "Error: libcrypto required."

解决方法:yum -y install openssl openssl-devel

5.使用make命令进行编译:make

6.使用make install命令进行安装:make install

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值