bogofilter on Mac OSX?

John xd890cc2b41c31d74 at f4n.org
Wed Dec 29 12:22:06 CET 2004


On Wed, Dec 29, 2004 at 11:38:22 +0100, Matthias Andree wrote:
> The new README.osx is below - please let me know any
> corrections. Thanks in advance.
> [...] 
> ./configure CPPFLAGS=-I/sw/include/db4 LDFLAGS=-L/sw/lib LIBS=-ldb-4.2
> (the --with-libdb-prefix option does not work because it does not
> support different prefix for libraries and headers)
Verified as working.

Btw regarding OpenBSD/FreeBSD: It might be helpful to add a note on
the naming of the db_*-utils in README.freebsd, along the lines of
"Make sure the db_*-utilities referenced in src/bf_* are for the
version of Berekeley DB that bogofilter uses.". (I'm pretty sure I saw
a note on it somewhere else, but having one in README.freebsd probably
wont hurt.)

Both OpenBSD 3.5 (package) and FreeBSD 4.10 (ports) name the utilities
db[version]_*, thus requiring changes in the bf_*-tools. Given things
such as
http://www.bogofilter.org/pipermail/bogofilter/2004-November/007160.html
it might not be a good idea to hope that the user gets a "Command not
found" message for db_* when running bf_*.



More information about the Bogofilter mailing list