On Sat, Jan 04, 2003 at 11:51:02AM -0500, Theo Van Dinter wrote: > On Sat, Jan 04, 2003 at 04:54:58PM +0100, Denis Ducamp wrote: > > Then when I run "~/saCVSusr/bin/spamassassin < msg.txt 2>&1 | less" I get : > > > > configuration file "/home/ducamp/saCVSusr/share/spamassassin/20_body_tests.cf" >requires version 2.50 of SpamAssassin, but this is code version 2.43. Maybe you need >to use the -c switch, or remove the old config files? Skipping this file at >/usr/lib/perl5/site_perl/Mail/SpamAssassin/Conf.pm line 246. > > This says that the code is 2.43 but the rules are 2.50. So either the > libraries or the scripts or both didn't get installed.
Both are installed : . 2.43 as the stable system wide (ie "perl Makefile.pl") . 2.50 as a personal test (ie "perl Makefile PREFIX=~/saCVSusr SYSCONFDIR=~/saCVSetc") And to test the cvs (aka 2.50) version un simply run ~/saCVSusr/bin/spamassassin options... > > So the -c parameter is used (see the double slash), but spamassassin is > > always using /usr/lib/perl5/site_perl/Mail/SpamAssassin/Conf.pm > > You can try setting PERL5LIB to aim at the right directory, but the top > of the 2.50 scripts ought to aim at the install area. using PERL5LIB doesn't help, NoMailAudit.pm and other Mail/SpamAssassin lib are loaded from /usr/lib/perl5/site_perl first. Looking at the spamassassin installed script show it uses that directory : $ grep 'use lib' ~/saCVSusr/bin/spamassassin use lib '/usr/lib/perl5/site_perl'; # substituted at 'make' time So this line isn't substituted at make time, even after a fresh "cvs co spamassassin" Changing that var to /home/ducamp/saCVSusr/lib/site_perl make the local script works, even without PERL5LIB. Denis Ducamp. ------------------------------------------------------- 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