I get "Can't locate Mail/SpamAssassin.pm in @INC" error msg then I run perl Makefile.PL.
Do I need root access? Because I don't have that. Also Im not running SpamAssassin as spamd. Is it possible to install anyway?
b.
On Thursday, April 22, 2004, 7:03:06 AM, Bo Stark wrote:
I get "Can't locate Mail/SpamAssassin.pm in @INC" error msg then I run perl Makefile.PL.
Do I need root access? Because I don't have that. Also Im not running SpamAssassin as spamd. Is it possible to install anyway?
Hi Bo, Hopefully an excerpt from the Install doc may help:
If you don't see the rules being hit, then you most likely have some issue with @INC. Do a search for PerMsgStatus.pm, Conf.pm and SpamCopURI.pm.
You need to copy PerMsgStatus.pm and Conf.pm over the files that SpamAssassin originally installed. You can find this out by typing:
perl -MMail::SpamAssassin::PerMsgStatus -e 'print $INC{"Mail/SpamAssassin/PerMsgStatus.pm"},"\n"'
which will print out something like:
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm
In this case you just need to copy from this package lib/Mail/SpamAssassin/PerMsgStatus.pm lib/Mail/SpamAssassin/Conf.pm lib/Mail/SpamAssassin/SpamCopURI.pm
to /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin
After placing the rules in a proper place, you should be all set.
Not sure about a non-root install though. Perhaps someone else can comment.
Jeff C.
Where do you have SpamAssasssin installed?
If this is not by default located in the directories outputted by perl -V, then you need to add it by doing the following
export PERL5LIB=/home/me/lib/ # assuming this is where SA is installed
--eric
On Thu, Apr 22, 2004 at 04:03:06PM +0200, Bo Stark wrote:
I get "Can't locate Mail/SpamAssassin.pm in @INC" error msg then I run perl Makefile.PL.
Do I need root access? Because I don't have that. Also Im not running SpamAssassin as spamd. Is it possible to install anyway?
b.
Discuss mailing list Discuss@lists.surbl.org http://lists.surbl.org/mailman/listinfo/discuss
As Jeff noted. It would probably be easier to look at the Painful Install notes in the INSTALL doc.
--eric
On Thu, Apr 22, 2004 at 04:03:06PM +0200, Bo Stark wrote:
I get "Can't locate Mail/SpamAssassin.pm in @INC" error msg then I run perl Makefile.PL.
Do I need root access? Because I don't have that. Also Im not running SpamAssassin as spamd. Is it possible to install anyway?
b.
Discuss mailing list Discuss@lists.surbl.org http://lists.surbl.org/mailman/listinfo/discuss