bogofilter-1.1.4 - new current release

Andras Salamon andras at dns.net
Mon Jan 8 10:12:58 CET 2007


I'm seeing problems compiling the 1.1.4 release on Mac OS X 10.4.8.
With a fink installation of sqlite3 and libiconv, the correct configure
line is something like:

./configure --with-libsqlite3-prefix=/sw --with-database=sqlite3 --with-libiconv-prefix=/sw

which yields a src/Makefile including the lines:

am__append_9 = -L/sw/lib -liconv
LDADD = libbogofilter.a $(am__append_8) $(am__append_9) \
        $(am__append_11)
bogofilter_DEPENDENCIES = $(LDADD) $(am__append_4)
bogofilter$(EXEEXT): $(bogofilter_OBJECTS) $(bogofilter_DEPENDENCIES)
[...commands to make bogofilter here...]

The -L/sw/lib in the dependencies then causes make to fail:
make[3]: *** No rule to make target `-L/sw/lib', needed by `bogofilter'.  Stop.

I don't know much about recent versions of autotools, but program.am
from automake-1.9.6 has:

%PROGRAM%%EXEEXT%: $(%XPROGRAM%_OBJECTS) $(%XPROGRAM%_DEPENDENCIES) %%DIRSTAMP%

which seems to indicate that the -L/sw/lib should not be making its
way into bogofilter_DEPENDENCIES.

-- Andras Salamon                   andras at dns.net



More information about the bogofilter-dev mailing list