Contents |
Make sure you have installed:
- Google's Proto Buffers - gettext for language support
Links to install Proto Buffers and gettext are here
Download and install the latest dmg (e.g [1])
If this does not work, you can compile from source. Download the source from https://launchpad.net/bzr/+download
When using Darwin Ports
NOTE: if you have fink installed as well, there might some package conflicts from the ./configure script, one in particular I ran into was with the gperf package. It's better to use macports for building the Drizzle project.
NOTE: also you can update your outdated packages with a, port -v upgrade outdated, before building to make sure your autotools and other packages are up to date.
# Update existing packages port selfupdate # See what's installed port installed port list installed #port search pcre port install libevent port install pcre port install glib2 port install readline
You need libevent and libpcre installed on your Mac OS X machine. Check for latest versions, the following are specific examples at 2010-03-03
# libevent curl -O http://monkey.org/~provos/libevent-1.4.9-stable.tar.gz tar xvfz libevent-1.4.13-stable.tar.gz cd libevent-1.4.13-stable ./configure make sudo make install cd .. # libpcre curl -O http://superb-sea2.dl.sourceforge.net/project/pcre/pcre/8.01/pcre-8.01.tar.gz tar xvfz pcre-8.01.tar.gz cd pcre-8.01 ./configure make sudo make install cd ..
Continue installing Drizzle with the next step: installing libdrizzle, the client protocol library.
First install libdrizzle, if you haven't already, and use the same --prefix for both:
LDFLAGS=-L/opt/local/lib ./configure --with-libprotobuf-prefix=/opt/local \ --with-libpcre-prefix=/opt/local --with-libevent-prefix=/opt/local --prefix=/some/deploy/dir