You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2010/08/04 02:27:38 UTC
[Cassandra Wiki] Update of "InstallThrift" by jeremyhanna
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "InstallThrift" page has been changed by jeremyhanna.
http://wiki.apache.org/cassandra/InstallThrift?action=diff&rev1=4&rev2=5
--------------------------------------------------
- Thrift expects to make an official release so that distributors can package it up nicely Real Soon Now. In the meantime, installing thrift is a bit of a bitch. We are sorry about that, but we don't know of a better way to support a vast number of clients mostly automagically.
+ [[http://incubator.apache.org/thrift] | Thrift] expects to make an official release so that distributors can package it up nicely Real Soon Now. In the meantime, installing thrift is a bit of a bitch. We are sorry about that, but we don't know of a better way to support a vast number of clients mostly automagically.
+
+ Important note: you need to install the svn revision of thrift that matches the revision that your version of Cassandra uses. This can be found in the <Cassandra Home>/lib directory - e.g. `libthrift-917130.jar` means that version of Cassandra uses svn revision 917130 of thrift.
1. `aptitude install libboost-dev python-dev autoconf automake pkg-config make libtool flex bison build-essential` (or the equivalent on your system) (assumes you are interested in building for python; omit python-dev otherwise)
- 1. Grab the thrift source: `svn co http://svn.apache.org/repos/asf/incubator/thrift/trunk thrift-trunk`
+ 1. Grab the thrift source with the revision that your version of Cassandra uses: e.g. `svn co -r 917130 http://svn.apache.org/repos/asf/incubator/thrift/trunk thrift`
- 1. `cd thrift-trunk`
+ 1. `cd thrift`
1. `./bootstrap.sh`
1. `./configure` (you may need to add `--without-ruby` or `--without-csharp` or any other targets that are giving you trouble)
1. `make`