MailScanner and SA 2.51 and Bayes

Julian Field mailscanner at ecs.soton.ac.uk
Wed Mar 26 11:41:56 GMT 2003


You need version 3 of the BerkeleyDB library installed. Beware of version
4, it's not what you are looking for. If you need to install it from
source, go to www.sleepycat.com as that is the home of BerkeleyDB (and
don't ask how I remember that :-)

At 11:17 26/03/2003, you wrote:
>I saw this, and figured that I would probably need it as well, so I ran
>
>perl -MCPAN -e shell
>
>and then
>
>install DB_File
>
>things ran swimmingly for a moment, looking very productive, and then
>died. The
>following is the tail end of that run:
>
>DB_File needs compatible versions of libdb & db.h
>         you have db.h version 3.2.9 and libdb version 3.3.11
>Compilation failed in require at t/db-btree.t line 34.
>BEGIN failed--compilation aborted at t/db-btree.t line 34.
>t/db-btree....dubious
>         Test returned status 2 (wstat 512, 0x200)
>t/db-hash.....
>DB_File needs compatible versions of libdb & db.h
>         you have db.h version 3.2.9 and libdb version 3.3.11
>Compilation failed in require at t/db-hash.t line 23.
>BEGIN failed--compilation aborted at t/db-hash.t line 23.
>t/db-hash.....dubious
>         Test returned status 2 (wstat 512, 0x200)
>t/db-recno....
>DB_File needs compatible versions of libdb & db.h
>         you have db.h version 3.2.9 and libdb version 3.3.11
>Compilation failed in require at t/db-recno.t line 23.
>BEGIN failed--compilation aborted at t/db-recno.t line 23.
>t/db-recno....dubious
>         Test returned status 2 (wstat 512, 0x200)
>FAILED--3 test scripts could be run, alas--no output ever seen
>make: *** [test_dynamic] Error 2
>   /usr/bin/make test -- NOT OK
>Running make install
>   make test had returned bad status, won't install without force
>
>
>Any hints in there of what I'm missing?
>
>Van
>
>
>
>Julian Field wrote:
>
> > At 18:24 24/03/2003, you wrote:
> > >Can anyone confirm if this is even working now?  If I run a spamassassin
> > >-D -t < message I see debug code for Bayes that appears to me that it's
> > >working. Also in ~/.spamassassin I see bayes_seen, bayes_toks and
> > >bayes_msgcount updating.
> > >
> > >If SA is called from MS, only bayes_msgcount is changing.  It also
> > >creates bayes_seen.dir, bayes_seen.pag, bayes_toks.dir, and
> > >bayes_toks.pag files but they remain 0k.
> >
> > Install "DB_File" using CPAN. Then comment out the "use AnyDBM_File" at the
> > top of SA.pm. This will be in the next release (due about 4th April after I
> > get back from Networkshop).
> >
> > Still not had any requests for anything to discuss in the BoF session at
> > Networkshop.
> > --
> > Julian Field
> > www.MailScanner.info
> > Professional Support Services at www.MailScanner.biz
> > MailScanner thanks transtec Computers for their support
>
>--
>----------------------------------------------------------
>Sign up now for Quotes of the Day, a handful of quotations
>on a theme delivered every morning.
>Enlightenment! Daily, for free!
>mailto:twisted at whidbey.com?subject=Subscribe_QOTD
>
>For web hosting and maintenance,
>visit Van's home page: http://www.domainvanhorn.com/van/
>----------------------------------------------------------

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list