Compiling Drizzle on Ubuntu
In light of the MySQL conference, I decided to get try to get drizzle up and running on Ubuntu 8.04. I typically try to avoid installing dependencies from source as much as possible and a little bit of Googling turned up some available libraries.
The Drizzle wiki was useful in getting started but did not include all of the available packages.
First, the basic dependencies:
sudo apt-get install libpcre3-dev libevent-dev autoconf \
automake bison libtool ncurses-dev libreadline-dev libz-dev g++ \
libssl-dev uuid-dev libpam0g libpam0g-dev gperf
Next, the libevent on 8.04 is too old so a newer version needs to be installed.
sudo apt-get install libevent-dev
Google’s Protocol Buffers as well as libdrizzle need to be installed and the packages are available on the drizzle-developers PPA on Launchpad.
sudo apt-get install libdrizzle-dev libprotobuf-dev \
protobuf-compiler
Finally, download the drizzle sources and compile:
bzr branch lp:drizzle
cd drizzle
./config/autorun.sh
./configure
make
make install
Install and have fun!