With the recent unmasking of perl 5.8.0 (and subsequent reversion back to 5.6.1), I noticed that spamassassin stopped working. When I ran spamassassin from the command line, I got the following result: [greg@horus usr]$spamassassin Can't locate Mail/SpamAssassin/NoMailAudit.pm in @INC (@INC contains: /var/tmp/portage/Mail-SpamAssassin-2.43- r2/image//usr/lib/site_perl/5.6.1 /usr/lib/perl5/5.6.1/i686- linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686- linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/ven dor_perl/5.6.1/i686- linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /usr/bin/spamassassin line 127. BEGIN failed--compilation aborted at /usr/bin/spamassassin line 127. It appeared as if the SpamAssassin modules were in the wrong location. (They were in /usr/lib/site_perl/5.6.1/Mail/SpamAssassin) Most site_perl modules were located in /usr/lib/perl5/site_perl. /usr/lib/site_perl/ indeed was not in @INC: [greg@horus greg]$perl -e 'foreach (@INC) { print "$_\n" }' /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i686-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . So, perhaps the ebuild for Mail-SpamAssassin should be placing the perl modules in /usr/lib/perl5/site_perl, rather than /usr/lib/site_perl. As a temporary workaround, I created symlinks in the correct places in /usr/lib/perl5/site_perl/5.6.1/Mail. Thanks for taking the time to look at this. Greg Jednaszewski <greg@attenuated.org>
I just looked at bug #9756. I tried emerging Mail-SpamAssassin-2.43-r3.ebuild, but this still places all the files under /usr/lib/site_perl, rather than /usr/lib/perl5/site_perl.
try reemerging of ExtUtils-MakeMaker and then SpamAssassin again ExtUtils-MakeMaker should put the modules to right place...
*** This bug has been marked as a duplicate of 9067 ***
Excellent. That seemed to work. Thanks!