Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SpamAssassin broken after upgrading Perl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Namor
n00b
n00b


Joined: 14 Jun 2002
Posts: 43
Location: Madison, WI US

PostPosted: Mon Jan 20, 2003 8:33 pm    Post subject: SpamAssassin broken after upgrading Perl Reply with quote

After doing and emerge -u world SpamAssassin no longer works.

Here is a snippet from my procmail log:

Code:
Can't locate HTML/Parser.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/HTML.pm line 6.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/HTML.pm line 6.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 41.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 41.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 61.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 61.
Compilation failed in require at /usr/bin/spamassassin line 57.
procmail: Program failure (70) of "spamassassin"
procmail: Rescue of unfiltered data succeeded
From email@someplace.com  Fri Jan 17 13:53:30 2003
 Subject:
  Folder: EXITCODE==70 


I tried re-emerging SpamAssassin but no luck. Any ideas on how to fix this?
Back to top
View user's profile Send private message
Praxxus
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Mon Jan 20, 2003 9:22 pm    Post subject: Reply with quote

It looks like you need to re-emerge the HTML::Parser Perl library:

emerge -p HTML-Parser

If SPAM-Assassin was working before, then it will show up as installed, but you should upgrade it so that it is working with Perl 5.8.

Hope that fixes it!
_________________
My glaucoma just got worse!
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Mon Jan 20, 2003 9:38 pm    Post subject: emerge, gentoo, and perl Reply with quote

Generally I've had very bad luck updating anything Perl related and have taken to running two boxes with the same config for testing before applying. I would rebuild anything that spam assassin needs which may fix the problem. Definitely start with the HTML parser as Praxxus suggested and that might fix it. If it doesn't, here's a list from a somewhat fresh install.
Code:

azul root # emerge -p Mail-SpamAssassin

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] dev-perl/Time-HiRes-1.42
[ebuild  N   ] dev-perl/Digest-SHA1-2.01-r1
[ebuild  N   ] dev-perl/Digest-HMAC-1.01-r1
[ebuild  N   ] dev-perl/Test-Harness-2.24-r1
[ebuild  N   ] dev-perl/Test-Simple-0.47
[ebuild  N   ] dev-perl/Net-DNS-0.22-r1
[ebuild  N   ] dev-perl/Mail-SpamAssassin-2.43-r3


kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Namor
n00b
n00b


Joined: 14 Jun 2002
Posts: 43
Location: Madison, WI US

PostPosted: Mon Jan 20, 2003 10:42 pm    Post subject: Reply with quote

Praxxus wrote:
It looks like you need to re-emerge the HTML::Parser Perl library:

emerge -p HTML-Parser

If SPAM-Assassin was working before, then it will show up as installed, but you should upgrade it so that it is working with Perl 5.8.

Hope that fixes it!


That did it, thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum