I built and installed SpamAssassin 3.0 on my RedHat EL/WS system. I built it using the command:
perl Makefile.PL PREFIX=/usr/local I chose to use PREFIX because I'd like to keep everything associated with SpamAssassin on my /usr/local partition, out of the way of system upgrades, etc. The build and install seemed to go without a hitch. However, when I tried to test it out using the command: spamassassin -t < sample-nonspam.txt > nonspam.out I see the following error: Can't locate Mail/SpamAssassin.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/local/bin/spamassassin line 80. BEGIN failed--compilation aborted at /usr/local/bin/spamassassin line 80. Per the configuration, and the install, the file SpamAssassin.pm was installed: 163583 56 -r--r--r-- 1 root root 52629 Sep 21 18:05 /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm I checked the PACKAGING file and didn't seem to indicate I needed to make any other changes for SpamAssassin to find this file. Did I miss something? I apologize if this has already been covered in a previous post, I tried to use search.gmane.org, but it doesn't seem to be up. Any suggestions? Thanks! -- Bob