Hey all,

Per the upgrading instructions, I tried to run sa-learn --rebuild, and got the following error:

prime# sa-learn --rebuild
Global symbol "$re_strict" requires explicit package name at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 1224.
Global symbol "$re_loose" requires explicit package name at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 1224.


Line 1224 is this:

  if ($text =~ m/<(?:$re_strict|$re_loose|!--|!doctype)(?:\s|>)/ois) {

Global symbol "$re_strict" requires explicit package name at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 1229.
Global symbol "$re_loose" requires explicit package name at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 1229.


Line 1229 is this:

    $text =~ m/^(.*?)<(?:$re_strict|$re_loose|!--|!doctype)(?:\s|>)/ois;

BEGIN not safe after errors--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 2608.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 62.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/CmdLearn.pm line 6.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/CmdLearn.pm line 6.
Compilation failed in require at /usr/local/bin/sa-learn line 46.


Anyone know why this is, or how to fix? I don't recall seeing these errors before.

-Dan Mahoney

--

"Be happy.  Try not to hurt each other.  Hope you fall in love."

--Mallory, Family Ties Finale (on the meaning of life)

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------



Reply via email to