At 21:34 19/08/2003 +0200, Luis Muņiz wrote:
Hi there!

I've just setup (not system-wide[1]) Mail-SpamAssassin-2.55.  My
problem is that every time a mail is received, procmail' log shows
the following:

Can't locate HTML/Parser.pm in @INC (@INC contains: /home/colab/kreator/usr/local/share/perl/5.6.1 /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at /home/colab/kreator/usr/local/share/perl/5.6.1/Mail/SpamAssassin/HTML.pm line 7.
[...]
procmail: Program failure (70) of "/home/colab/kreator/usr/local/bin/spamassasin"
procmail: Rescue of unfiltered data succeeded


Sure, HTML::Parser is not found, so `spamassasin' doesn't do it's work.
But I *do*have* a file called <HTML/Parser.pm> under </usr/lib/perl5>,
which is included in @INC.

        $ head -12 /usr/lib/perl5/HTML/Parser.pm  | grep -v ^#
        package HTML::Parser;

        use strict;
        use vars qw($VERSION @ISA);

$VERSION = '3.25'; # $Date: 2001/05/11 17:24:09 $

I'm totally confused at this.  I'm not very used to Perl , but I thought
that this config should work.

A couple of suggestions,


* Check to make sure you don't have two different versions of Perl installed in two different directories... this can cause all kinds of problems

* Try installing the latest HTML::Parser using CPAN, yours might be too old.

perl -MCPAN -e shell
install HTML::Parser
quit

It will either say its already up to date, or it will get and install the latest version for you.

Regards,
Simon



-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code4
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to