You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Morris Jones <mo...@whiteoaks.com> on 2005/01/25 00:05:50 UTC
Can't find SQL.pm
I'm trying to install spamassassin on a SuSE 9.2 system, and use SQL
Bayes, AWL, and user prefs.
I uninstalled the 3.0.0 package that SuSE came with, and set up local.cf
with all the SQL connection variables.
make test works perfectly in my build directory, including the SQL tests.
After installing when I run "spamd -D -x -q" I get "Can't locate
Mail/Spamassassin/BayesStore/SQL.pm in @INC (@INC contains: lib ../lib
/usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/5.8.5/i586-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl) at (eval
30) line 2."
If I look in /usr/lib/perl5/site_perl/5.8.5 I find
Mail/Spamassassin/BayesStore/SQL.pm sitting right there, happy as can be.
Any suggestions?
Mojo
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
Re: Can't find SQL.pm (solved)
Posted by Morris Jones <mo...@whiteoaks.com>.
Morris Jones wrote:
> After installing when I run "spamd -D -x -q" I get "Can't locate
> Mail/Spamassassin/BayesStore/SQL.pm in @INC (@INC contains: lib ../lib
I had this line in my local.cf:
bayes_store_module Mail::Spamassassin::BayesStore::SQL
SpamAssassin was missing the capital 'A'.
Mojo
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org