drizzle
Profile
Search
 
Hosted by The Rackspace Cloud
Compiling/MacOS X

Contents

Installing Drizzle on Mac OS X

Make sure you have installed:

- Google's Proto Buffers
- gettext for language support

Links to install Proto Buffers and gettext are here

Getting Bazaar

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

Package Dependencies

MacPorts

When using MacPorts

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 port definitions
port selfupdate
# See what's installed
port installed
# Install the ports we want
port install pcre
port install glib2
port install readline

Homebrew

Homebrew has many of the ease-of-use benefits that Fink and Macports have, and it also supports a higher version of Boost libraries than Macports, which Drizzle requires.

It just installs things into /usr/local:

http://www.engineyard.com/blog/2010/homebrew-os-xs-missing-package-manager/

http://mxcl.github.com/homebrew/

Natively

You need libpcre installed on your Mac OS X machine. Check for latest version. The following is a specific example at 2010-03-03

# 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 ..


Drizzle Configuration with MacPorts

First install libdrizzle, if you haven't already, and use the same --prefix for both:

./configure --with-lib-prefix=/opt/local --prefix=/your/deploy/dir