bogofilter on Mac OSX?
Matthias Andree
matthias.andree at gmx.de
Wed Dec 29 11:38:22 CET 2004
Matthias Andree <matthias.andree at gmx.de> writes:
> I'd be grateful if someone could provide me with the list of files that
> the Fink db* packages install. (something like rpm -ql package or
> dpkg -L package or pkg_info -L package or tar -tzvf package.tgz or whatever
> they use)
John has provided me with the dpkg -L list for Fink's db42* packages
(db42 has the static libraries and headers in /sw/lib/libdb-4.2.[l]a and
/sw/include/db4/db.h, db42-shlibs the dynamic libraries in
/sw/lib/libdb-4.2.dylib, db42-doc the documentation and db42-bin the
utilities with original names in /sw/bin/).
The new README.osx is below - please let me know any
corrections. Thanks in advance.
--
Matthias Andree
-------------- next part --------------
Compiling Bogofilter on OS-X
=============================
Bogofilter has been tested and is used on OS-X.
There are two prerequisites for compiling Bogofilter on OS-X.
1. Berkeley DB
2. xlc or gcc (automatically detected if in the search path)
Berkeley DB is available from Sleepycat Software, at
<http://www.sleepycat.com/>. Users of the "Fink" package manager can
install it using 'fink install db42 db42-bin db42-shlibs'. (They can
optionally add db42-doc if you want the Berkeley DB documentation set
installed as well.)
You must pass the 'configure' script information on where to find the
Berkeley DB headers and libraries, like this (for Fink):
./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)
On the HP Gnome Desktop, try:
./configure --with-libdb-prefix=/opt/gnome
Bogofilter can be built with either gcc or xlc. The configure script
checks gcc first, then for xlc, then for cc, and uses the first that is
found. To override the default choice, you can add CC=gcc34 (optionally
with full path) to the configure command line.
Read the INSTALL file for more information and additional options for
the 'configure' script.
More information about the bogofilter
mailing list