thrift在centos6.5下编译环境的安装
来源:互联网 发布:淘宝开店的类目 编辑:程序博客网 时间:2024/05/01 06:55
Building Apache Thrift on CentOS 6.5
Starting with a minimal installation, the following steps are required to build Apache Thrift on Centos 6.5. This example builds from source, using the current development master branch. These instructions should also work with Apache Thrift releases beginning with 0.9.2.
Update the System
sudo yum -y update
Install the Platform Development Tools
sudo yum -y groupinstall "Development Tools"
yum install bzip2-devel
yum install python-devel
http://libevent.org/下载event2并编译安装
http://ant.apache.org/bindownload.cgi下载ant并设置ant到PATH环境变量
Upgrade autoconf/automake/bison
sudo yum install -y wget
Upgrade autoconf
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gztar xvf autoconf-2.69.tar.gzcd autoconf-2.69./configure --prefix=/usrmakesudo make installcd ..
Upgrade automake
wget http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gztar xvf automake-1.14.tar.gzcd automake-1.14./configure --prefix=/usrmakesudo make installcd ..
Upgrade bison
wget http://ftp.gnu.org/gnu/bison/bison-2.5.1.tar.gztar xvf bison-2.5.1.tar.gzcd bison-2.5.1./configure --prefix=/usrmakesudo make installcd ..
Add Optional C++ Language Library Dependencies
All languages require the Apache Thrift IDL Compiler and at this point everything needed to make the IDL Compiler is installed (if you only need the compiler you can skip to the Build step).
If you will be developing Apache Thrift clients/servers in C++ you will also need additional packages to support the C++ shared library build.
Install C++ Lib Dependencies
sudo yum -y install libevent-devel zlib-devel openssl-devel
Upgrade Boost >= 1.53
wget http://sourceforge.net/projects/boost/files/boost/1.53.0/boost_1_53_0.tar.gztar xvf boost_1_53_0.tar.gzcd boost_1_53_0./bootstrap.shsudo ./b2 install
thrift下载地址:http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.3/thrift-0.9.3.tar.gz
cd thrift./bootstrap.sh./configuremakesudo make install
0 0
- thrift在centos6.5下编译环境的安装
- 在centos6.5下编译安装LNMP环境(更新)
- 在CentOS6.5环境下编译安装MySQL5.6.34
- centos6.5下lamp环境的搭建(源码编译安装)
- centos6.5下安装gradle编译环境
- centos6.5环境下sysbench编译安装
- CentOS6.5环境下MySQL编译安装
- Ubuntu环境下Thrift的安装、编译以及测试
- Thrift 学习笔记1——Ubuntu环境下Thrift的安装、编译以及测试
- Thrift 学习笔记2——Windows环境下Thrift的安装、编译以及测试
- Thrift 学习笔记2——Windows环境下Thrift的安装、编译以及测试
- Thrift 学习笔记1——Ubuntu环境下Thrift的安装、编译以及测试
- centos6.5安装thrift
- Centos6.5环境下编译安装Mapserver7.0.1
- CentOS6.5环境下编译安装MySQL5.6.23
- IOS/MAC环境下thrift的安装
- Linux环境下Thrift的安装
- 在centos6.5下编译安装vim7.4
- web前端常用工具网址
- BST-----Validate Binary Search Tree
- Educational Codeforces Round 3 B.The Best Gift (数学)
- AWS 构建个人网站(1)
- Sencha Touch 自定义List的三种实现方案
- thrift在centos6.5下编译环境的安装
- VLC 视频播放资料 收集
- Spring集成Quartz定时任务框架介绍和Cron表达式详解
- __attribute__ 你知多少?
- 数据存储方式
- js简单实现图片切换效果
- 又见母函数
- Maven 手动添加 JAR 包到本地仓库
- python 类方法,和实例方法