Gentoo Archives: gentoo-user

From: "Christian Könitzer" <chkab@×××.ch>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] spamassassin error
Date: Wed, 02 Dec 2009 08:50:18
Message-Id: 4B162A1D.3070700@gmx.ch
In Reply to: [gentoo-user] spamassassin error by Arnau Bria
1 Hi
2
3 don't know if this helps, but here you can see my use flags and it worls
4 on my system:
5
6 [I] mail-filter/spamassassin
7 Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1
8 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap
9 mysql postgres qmail sqlite ssl tools}
10 Installed versions: 3.2.1-r1(06:48:52 27.08.2009)(berkdb mysql
11 sqlite ssl -doc -ipv6 -ldap -postgres -qmail -tools)
12 Homepage: http://spamassassin.apache.org/
13 Description: SpamAssassin is an extensible email filter
14 which is used to identify spam.
15
16 problably the
17
18 perl-core/DB_File
19
20 needs the berkdb flag...
21
22 and maybe you should start it with -D so you get an better error message.
23
24 cheers
25
26 Arnau Bria schrieb:
27 > Hi all,
28 >
29 > I've a cron which trains my spamassassin and it has sttoped working:
30 > /usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/
31 >
32 > ERROR: the Bayes learn function returned an error, please re-run with -D for more information
33 >
34 > the problem comes because there's a missing package:
35 > perl-core/DB_File
36 >
37 > but seems that emerge doesn't want to install it, and I'm wondering
38 > what use I'm missing:
39 >
40 > [I] mail-filter/spamassassin
41 > Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres qmail sqlite ssl tools}
42 > Installed versions: 3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc -ipv6 -ldap -mysql -postgres -qmail -sqlite -tools)
43 >
44 > or what I'm doing wrong :-)
45 > do I have to add DB_File to world? cause if I install the package with
46 > oneshot option, depclean wants to remove it.
47 >
48 > Anyone faced same problem?
49 > Cheers,
50 >
51 >