GettingStarted

  1. install thrift dependencies
    • GNU build tools (Autoconf 2.59c+)
    • g++ 4.0+
    • boost 1.33.1+
    • libevent
    • cppunit
    • other language support depending on what you're developing in, perl, python, php, java, ruby, ...
  2. checkout and build thrift
    1. svn co http://svn.facebook.com/svnroot/thrift/trunk thrift
    2. cd thrift
    3. ./bootstrap
    4. ./configure
    5. make all
    6. sudo make install
  3. install thrudb dependencies
    • log4cxx
    • libmemcached (http://tangent.org/552/libmemcached.html)
    • spread v4 (optional, for replication backend and broadcast support)
    • libuuid
    • libssl
    • libcrypto
    • for thrudoc (optional, for backend support)
      • db_cxx (BerkeleyDB c++ support)
      • expat (S3 support)
      • mysql client
      • boost filesystem
    • for thrudex
      • CLucene (requires 0.9.18 or higher)
  4. checkout and build thrudb
    1. svn co http://svn.thrudb.org/thrudb/trunk thrudb
    2. cd thrudb
    3. to build everything
      1. make
    4. to build specific portions, thrucommon is required, everything after is if you want it
      1. cd thrucommon
      2. ./bootstrap
      3. ./configure
      4. make all
      5. sudo make install
      6. repeat for each of the pieces you want, thrudoc, thrudex, thruqueue, throxy