首页 > 其他 > 详细

Thrift

时间:2021-09-15 16:03:27      阅读:18      评论:0      收藏:0      [点我收藏+]
Download addredd:
https://dlcdn.apache.org/thrift/0.15.0/thrift-0.15.0.tar.gz
Use this url to download thrift of version 0.15.0.

Required:
1. autoconf-2.65
  ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.65.tar.gz
2. automake-2.13
  http://ftp.gnu.org/gnu/automake/automake-1.13.4.tar.gz
  or
  http://ftp.gnu.org/gnu/automake/automake-1.13.tar.gz
3. libtool
  http://ftp.gnu.org/gnu/libtool/libtool-1.5.24.tar.gz
4.boost-1.53
https://nchc.dl.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.gz


Compile:
1.
./bootstrap.sh
2.
./configure
or
./configure --without-java #if not need java
or
./configure --with-boost=/usr/local #you can use this to set boost installed position.
or
./configure JAVAC=/usb/bin/javac #you can use this option to set java home
or
./configure CXXFLAGS=‘-g -O2‘
./configure CFLAGS=‘-g -O2‘
./configure CPPFLAGS=‘-DDEBUG_MY_FEATURE‘
3. 
make
4.
make check
5.
sh test/test.sh
6.
make install

Thrift

原文:https://www.cnblogs.com/mzyn22/p/15268518.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!