Hi,

On Tue, 19 Aug 2003 21:34:38 +0200 Luis Muņiz <[EMAIL PROTECTED]> wrote:

> 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: ...

> 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 ^#
[...]

I take it you're using spamassassin (not spamc/spamd) and you have
spamassassin installed locally at
/home/colab/kreator/usr/local/bin/spamassasin.

What does `head -1 /home/colab/kreator/usr/local/bin/spamassasin` give you?
(Real question: which perl interpreter is invoked by this script?)

What does `locate perl | egrep '/perl$' | xargs ls -ld | egrep -v '^d'` give you?
(Real question: which perl interpreters are installed?)

For each of the perl interpreters listed above (example: /path/to/perl),
what do you get when you run 
`/path/to/perl -e 'use HTML::Parser; print $HTML::Parser::VERSION, "\n";'` ?
(Real question: which perl distributions have working versions of
HTML::Parser installed?)

Do the same with 
`/path/to/perl -e 'use Mail::SpamAssassin; print $Mail::SpamAssassin::VERSION, "\n";'`

Change the 'shebang' line at the top of
/home/colab/kreator/usr/local/bin/spamassasin to point at a perl
interpreter that has working installations of both HTML::Parser and
Mail::SpamAssassin or reinstall the missing/broken modules under the
appropriate perl distribution.

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

It should, though it's possible that with multiple installations of perl
or with perl+modules not compiled from source (e.g. installed via RPM)
that you might have some brokenness within your local perl
distribution(s.)

hth,

-- Bob


-------------------------------------------------------
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