Contents |
This HowTo was created with FreeBSD 7.1 using a clean jail. It should apply equally well to newer releases.
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 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.)
Using sysinstall select and install the following:
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 installing Drizzle with the next step: installing libdrizzle, the client protocol library.