spamassasin help

Peter Bonivart peter at UCGBOOK.COM
Wed Apr 21 18:45:13 IST 2004


Sathes Nair wrote:
> I have MS 4.29-7, sendmail 8.12.9 perl 5.005_03 on
> solaris 8 sparc.
> When i execute spamassassin command i get the
> following error : -
>
> Can't locate bytes.pm in @INC (@INC contains: lib
> /usr/perl5/site_perl/5.005/sun
> 4-solaris /usr/perl5/site_perl/5.005
> /usr/perl5/5.00503/sun4-solaris /usr/perl5/
> 5.00503 /usr/perl5/site_perl/5.005/sun4-solaris
> /usr/perl5/site_perl/5.005 .) at
>  lib/Mail/SpamAssassin/NoMailAudit.pm line 19.
> BEGIN failed--compilation aborted at
> lib/Mail/SpamAssassin/NoMailAudit.pm line 1
> 9.
> BEGIN failed--compilation aborted at ./spamassassin
> line 142.
>
> Can anyone advise me on this.. im very new to
> spamassasin.

Try this command and see if you find anything:

$ find `perl -e 'print "@INC"'` -name "*.pm" | grep -i bytes
/usr/lib/perl5/5.8.3/bytes.pm
/usr/lib/perl5/5.8.3/ExtUtils/MakeMaker/bytes.pm

MailScanner doesn't require a newer Perl than 5.005 (yet) but I know
that SpamAssassins next version (3.0) will require 5.6 so it might be
good for you to upgrade.

Do you have Sun's compiler? If not, you can get a new Perl package from
www.sunfreeware.com compiled with GCC. Then you have to symlink
/usr/bin/perl to /usr/local/bin/perl for MailScanner to pick it up.
Don't worry, Sun uses complete paths when Solaris needs the old Perl stuff.

--
/Peter Bonivart

--Unix lovers do it in the Sun

Sun Fire V210, Solaris 9, Sendmail 8.12.10, MailScanner 4.29.7,
SpamAssassin 2.63 + DCC 1.2.39, ClamAV 0.70 + GMP 4.1.2, Vispan 1.3



More information about the MailScanner mailing list