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

你可能感兴趣的:(erlang,cocoa,Debian,ubuntu,cassandra)