keesan
|
|
Adding to PERL library path
|
Apr 22 14:13 UTC 2009 |
How do I add a directory to the set of places where perl looks for modules?
I tried
export PERLLIB=/path/to/directory
in .profile.
This is at SDF, where spamassassin broke after some mail update.
I compiled spamassassin following directions and it was working until now
but now it cannot find Mail/SpamAssassin.pm, which is in ~keesan/.libs.
It looks only in /usr/pkg/....... and complains about not finding the file
in @INC.
The directions I followed were for compiling and installing to a user
directory (PREFIX=$HOME). This installed SpamAssassin.pm to my
user directory but spamassassin won't look there. Is there some other
way (in .procmailrc) to tell it to look there?
I am deleting about 15 spams every time I check mail there, and adding
lots of filters to .procmailrc (dump mail to kearney karn khar...)
|