Thrift is an open-source cross-language service development framework of Apache. It provides a code generation engine to build services and supports C ++, Java, Python, PHP, Ruby, Erlang, perl, Haskell, C #, Cocoa, JavaScript, Node. js, Smalltalk, OCaml, Delphi, and other programming languages. First install the dependency yum-yinstallautomakelib
Thrift is an open-source cross-language service development framework of Apache. It provides a code generation engine to build services and supports C ++, Java, Python, PHP, Ruby, Erlang, perl, Haskell, C #, Cocoa, JavaScript, Node. js, Smalltalk, OCaml, Delphi, and other programming languages.
First install the dependency
Yum-y install automake libtool flex bison pkgconfig gcc-c ++ boost-devel libevent-devel zlib-devel python-devel ruby-devel openssl-devel
Download the Thrift software package and decompress it:
Wget http://apache.fayea.com/thrift/0.9.2/thrift-0.9.2.tar.gz
Tar zxvf thrift-0.9.2.tar.gz
D thrift-0.9.2
./Configure
Make & make install
After installation !!
Thrift-version
Thrift version 0.9.2
You can view the version! Indicates installation is complete.
FAQ:
Encounter
Compilation terminated.
Make [4]: *** [src/libluasocket_la-luasocket.lo] Error 1
Lua error .. You can exclude lua from installation.
./Configure -- with-lua = no
Make & make install