drizzle
Profile
Search
 
Hosted by The Rackspace Cloud
Compiling/FreeBSD 7 X

Contents

Installing Drizzle on FreeBSD 7.x

This HowTo was created with FreeBSD 7.1 using a clean jail. It should apply equally well to newer releases.

Env variables

The following environmental variables need to be set before running ./configure. These are required b/c some of the packages below install in to /usr/local. I've tried several times to use the --with-libuuid-prefix=/usr/local (and similar) configure options, but the tests don't seem to correctly set the CFLAGS/CPPFLAGS when testing for successful linking.

 $ export CFLAGS="$CFLAGS -I/usr/local/include"
 $ export CPPFLAGS="$CPPFLAGS -I/usr/local/include"
 $ export LDFLAGS="$LDFLAGS -L/usr/local/lib"

Use gmake

Use GNU-make (gmake) for everything rather than BSD-make (make) as there are subtle differences that will break the compiles of both Google's Proto-Buffers and Drizzle (libdrizzle is currently not affected.)

Satisfying Dependencies

gcc4.4

Using Packages

Using sysinstall select and install the following:

Using Ports

You may encounter problems with the version of Bazaar included with FreeBSD 7.1, it's pretty old at this point. The easiest way to get a newer version (and newer versions of everything going the ports route) is to use portsnap to update to the latest port set.

Continue

Continue installing Drizzle with the next step: installing libdrizzle, the client protocol library.