Getting started

The Erlang code generated by Thrift uses a number of Thrift modules. These modules need to be compiled to be able to use the code generated by Thrift.

Building the Thrift modules in Linux

  1. If you haven't done so already download a snapshot of the Thrift source code and extract it. - Direct link to the snapshot

  2. Navigate to  lib/erl/  using the terminal of your choice

  3. Compile the Thrift modules into BEAM:

make

See also

Todd Lipcon who made the Erlang bindings for Thrift has made a helpful script, ThriftErlSkel, to create a skeleton of an Erlang application. It's worth a look: direct link

ThriftUsageErlang (last edited 2009-09-20 23:47:13 by localhost)