BerkeleyDB woes on FreeBSD

Adrian Otto aotto at aotto.com
Tue Oct 8 05:34:36 CEST 2002


Matthias,

Probably the best way to deal with this for our 0.7.5 release is to make a
README.FreeBSD file that explains how to invoke the configure script to get
a successful build with db4.

Adrian

> -----Original Message-----
> From: Matthias Andree [mailto:matthias.andree at gmx.de]
> Sent: Monday, October 07, 2002 5:38 PM
> To: bogofilter-dev mailing list
> Subject: BerkeleyDB woes on FreeBSD
>
>
> Hi,
>
> I've just tried to run things on FreeBSD, but it won't quite work
> without manual help now.
>
> I've committed a band-aid configure.in patch that allows me to at least
> build the beast, with configure options like these:
>
> CPPFLAGS="-I/usr/local/include/db4" LDFLAGS="-L/usr/local/lib" ./configure
>
> or
>
> CPPFLAGS="-I/usr/local/include/db4" ./configure --with-db=/usr/local
>
> But this is ugly.
>
> However, FreeBSD has no xmlto port and xmlto cannot currently be built
> on FreeBSD, but that's not a priority issue now because we shall just
> ship a bogofilter.1 file. (I filed Frodo Looijaard's getopt port to
> FreeBSD, it's one of the things that xmlto depends on.)
>
> The problem is that the FreeBSD ports system consistently installs the
> relevant db files into these non-standard locations:
>
> /usr/local/include/db4/db.h
> /usr/local/lib/libdb4.so
>
> /usr/local/include/db3/db.h
> /usr/local/lib/libdb3.so
>
> I'll leave configure.in alone now, but this will have to be worked out.
>
> --
> Matthias Andree
>



More information about the bogofilter-dev mailing list