On Sat, 27 Sep 2003 09:31 pm, you wrote:
> Run sa-learn with the debug flag and mostly you will see what is going
> wrong.

From which I get the following...

[EMAIL PROTECTED] Mail-SpamAssassin-2.60]# sa-learn -D --spam --dir 
/home/trevor/M
ail/.Spam.directory/filteredspam/cur
debug: Score set 0 chosen.
debug: running in taint mode? yes
debug: Running in taint mode, removing unsafe env vars, and resetting PATH
debug: PATH included '/sbin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/usr/X11R6/bin', keeping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/usr/local/sbin', keeping.
debug: Final PATH set to: 
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/loca                              
l/bin:/usr/local/sbin
debug: using "/root/sausr/share/spamassassin" for default rules dir
debug: using "/root/saetc/mail/spamassassin" for site rules dir
debug: using "/root/.spamassassin/user_prefs" for user prefs file
debug: bayes: DB_File module not installed, cannot use Bayes
debug: Score set 0 chosen.
debug: Initialising learner
debug: Initialising learner
debug: Syncing Bayes journal and expiring old tokens...
debug: bayes: DB_File module not installed, cannot use Bayes
debug: Syncing complete.
debug: Removing Markup
debug: Learning Spam
debug: uri tests: Done uriRE
debug: bayes: DB_File module not installed, cannot use Bayes
Learned from 0 message(s) (1 message(s) examined).
debug: bayes: 15430 untie-ing
[EMAIL PROTECTED] Mail-SpamAssassin-2.60]#

From which I assume I need this DB_File thingy.  So I then do the following 
which I hope is right, and then I get this...

cpan> install DB_File
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Sat, 27 Sep 2003 05:46:31 GMT
Running install for module DB_File
Running make for P/PM/PMQS/DB_File-1.806.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/P/PM/PMQS/DB_File-1.806.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DB_File-1.806/
DB_File-1.806/dbinfo
DB_File-1.806/patches/
DB_File-1.806/patches/5.6.0
DB_File-1.806/patches/5.005_02
DB_File-1.806/patches/5.005_03
DB_File-1.806/patches/5.004_03
DB_File-1.806/patches/5.004_05
DB_File-1.806/patches/5.004_02
DB_File-1.806/patches/5.005_01
DB_File-1.806/patches/5.004_04
DB_File-1.806/patches/5.004_01
DB_File-1.806/patches/5.005
DB_File-1.806/patches/5.004
DB_File-1.806/hints/
DB_File-1.806/hints/sco.pl
DB_File-1.806/hints/dynixptx.pl
DB_File-1.806/t/
DB_File-1.806/t/db-btree.t
DB_File-1.806/t/db-recno.t
DB_File-1.806/t/db-hash.t
DB_File-1.806/Changes
DB_File-1.806/DB_File_BS
DB_File-1.806/fallback.h
DB_File-1.806/MANIFEST
DB_File-1.806/typemap
DB_File-1.806/ppport.h
DB_File-1.806/DB_File.xs
DB_File-1.806/config.in
DB_File-1.806/DB_File.pm
DB_File-1.806/version.c
DB_File-1.806/fallback.xs
DB_File-1.806/README
DB_File-1.806/Makefile.PL
Removing previously used /root/.cpan/build/DB_File-1.806

  CPAN.pm: Going to build P/PM/PMQS/DB_File-1.806.tar.gz

Parsing config.in...
Looks Good.
Checking if your kit is complete...
Looks good
Writing Makefile for DB_File
cp DB_File.pm blib/lib/DB_File.pm
AutoSplitting blib/lib/DB_File.pm (blib/lib/auto/DB_File)
gcc -c  -I/usr/local/BerkeleyDB/include -D_REENTRANT -D_GNU_SOURCE 
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm -DPERL_POLLUTE  -O2 -fomit-frame-pointer -pipe 
-march=i586 -mcpu=pentiumpro   -DVERSION=\"1.806\" -DXS_VERSION=\"1.806\" 
-fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"  -D_NOT_CORE  
-DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t  version.c
version.c:30:16: db.h: No such file or directory
make: *** [version.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

Does this make any sense to anyone.  I´m lost as to what I should do next.

 Regards
      Trevor Rhodes
===========================================
Powered by Linux                -             Mandrake 9.1
Registered Linux user # 290542 at http://counter.li.org
Registered Machine #'s 186951
Mandrake Club Silver Member
Source :  my 100 % Microsoft-free personal computer.
===========================================
 22:47:10 up 22:03,  4 users,  load average: 1.13, 1.08, 1.02
-- 
Never mud wrestle with a pig.. you get dirty and the pig enjoys it!



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to