微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Thrift在Ubuntu下的配置

Thrift is a software framework for scalable cross-language services development. It combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++,Java,Python,PHP,Ruby,Erlang,Perl,Haskell,C#,Cocoa,Smalltalk,and OCaml.

我们在一些跨语言的项目里使用了Thrift,另外Cassandra也需要Thrift的支持

 

1.下载或者wget Thrift的软件包:http://incubator.apache.org/thrift/

2.解压缩。

3.进入文件夹,执行./booststrap.sh

执行./configure

这一步可能会出现“We Could not detect the boost libraries”错误解决办法是在新立得里选择并安装libboost-dev软件包。

make

这一步可能会出现”libtool:you should recreate aclocal.m4 with macros from libtools 2.2.4 Debian-2.2.4-0ubuntu4“的错误解决办法是运行

aclocal

libtoolize --force

autoconf

autoheader

automake

然后重新运行booststrap.sh/configure/make。

make install

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐