thrift-0.9.2的安裝


安裝 thrift-0.9.2 步驟如下:

1. 下載

# wget http://archive.apache.org/dist/thrift/0.9.2/thrift-0.9.2.tar.gz

2. 安裝依賴

# yum -y install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel openssl-devel

3. 升級bison版本到2.5

# wget http://ftp.gnu.org/gnu/bison/bison-2.5.tar.gz
# tar -zxf bison-2.5.tar.gz
# cd bison-2.5
# ./configure
# make
# make install

4. 編譯與安裝

# tar -zxf thrift-0.9.2.tar.gz
# cd thrift-0.9.2
# ./configure --with-lua=no
# make
# make install

5. 驗證安裝是否成功

# thrift -version
Thrift version 0.9.2


安裝參考:

  http://thrift.apache.org/docs/install/
  http://thrift.apache.org/docs/install/centos

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM