Still don’t understand all that is the case.

 
« Back to blog

Building Embedded PBXT from bzr

Before I write an actual introductionary blog-post about Embedded PBXT's (or just "EPBXT"), I'd like to drop some lines to teach you how to get started with Embedded PBXT today. Currently, there is no binary version of EPBXT available, so you will have to build it from bzr directly.

Your system has to meet the following requirements for doing so:

  • protobuf >= 2.2 installed and working, especially protoc is in your $PATH -- Embedded PBXT will not check existence for protobuf, so you have to install and check this on your own beforehand
  • make, gcc, etc. installed

In general, if you can successfully build drizzled and mysql on your box, compiling epbxt should work fine, too.

To kick-start the compilation process, there is a special makefile which automates the building process.

# wget http://bazaar.launchpad.net/%7Ems-fk/embedded-pbxt/abstract-frm/download/head%3A/makefile.epbxt-20100224234140-wt93ct6kbyhmiow2-1/Makefile.epbxt
# make -f Makefile.epbxt

This will download the Makefile, download epbxt and mysql, and will finally build everything for you. All this takes almost 3m on my system, so please be patient.

To get a rough overview how the library works, take a look at epbxt/bin/epbxt_perftest.cc .

P.S.: If you encounter any problems with Makefile.epbxt, please drop a comment or file a bugreport at http://launchpad.net/embedded-pbxt . I have tested the Makefile under Ubuntu 9.10 only.

Loading mentions Retweet

Comments (0)

Leave a comment...

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     twitter