Skip to content

Roger Hosto

Good Talk

Menu
  • Home
  • Blogs
    • Databases Administration
      • MySQL
      • NoSQL
    • Development
    • Open Source Software
    • System Administration
  • Resume
  • About
Menu

Building Thrift on RedHat/CentOS 5.x

Posted on March 19, 2010 by webgeek

What’s Thrift you ask? Well to quote their website.

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.

 

And why do I needed it? Well I have been testing Cassandra for at work and one of the developers want to generate some csharp code using the Thrift API, so of course he wanted me to do it, since he was having problems getting it to work on his Window box.

 

So here is the short notes for what I did.

 

Downloaded Thrift code:
thrift-incubating-0.2.0.tar.gz

Installed/Updated required packages:
sudo yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel

Unpacked the code, compiled, and installed it:
tar -zxf thrift-incubating-0.2.0.tar.gz
cd thrift-incubating-0.2.0
./configure
make
sudo make install

That’s it, have fun. Next project going to look at Lucandra: A Cassandra-based Lucene backend.

Category: Development, System Administration

Leave a Reply

You must be logged in to post a comment.

  • Prioritizing Projects Effectively
  • Back to Basics: ORM and Its Impact on Database and Data Architecture
  • MySQL Error: 1062 'Duplicate entry' Error
  • Installing MariaDB 10.1 on CentOS 6.8
  • Linux Mint
  • LinkedIn
© 2026 Roger Hosto | Powered by Minimalist Blog WordPress Theme