Thrift is a binary communication middleware developed by Facebook and open source, and through thrift, we can take advantage of each language to write efficient code.
Http://wiki.apache.org/thrift/ThriftInstallation
1. Installation dependent
Yum Install Automake Libtool Flex Bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel
Python version I use the system comes with the
[[email protected] thrift-0.9.0]# python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
2, Installation Thrift
Download wget http://archive.apache.org/dist/thrift/0.9.0/thrift-0.9.0.tar.gz
Unzip the tar zxvf thrift-0.9.0.tar.gz
CD thrift-0.9.0
Executes./configure, executed by the makefile file generated under the directory
[email protected] thrift-0.9.0]# ll Makefile
-rw-r--r--. 1 root root 27285 Jul 09:37 Makefile
Make
Make install
Execution after installation is complete
[Email protected] thrift-0.9.0]# thrift-version
Thrift version 0.9.0
thrift-0.9.0 on centos6.3