BerkeleyDB woes on FreeBSD

Matthias Andree matthias.andree at gmx.de
Tue Oct 8 02:37:55 CEST 2002


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