[SAtalk] Problem with HTML::Parser in SA

2002-11-13 Thread GeckoX
I have been successfully using SA for a couple months now.

Just today, though, I tried for the first time to report a new piece of spam manually 
to Razor2 by 

| spamassassin -r

Here's the error I got:

Can't locate loadable object for module HTML::Parser in @INC (@INC contains: 
/usr/lib/perl5/site_perl/i386-linux 
/usr/lib/perl5/site_perl /usr/lib/perl5/i386-linux /usr/lib/perl5 .) at 
/usr/lib/perl5/site_perl/Mail/SpamAssassin/HTML.pm line 6
Compilation failed in require at /usr/lib/perl5/site_perl/Mail/SpamAssassin/HTML.pm 
line 6.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/Mail/SpamAssassin/HTML.pm line 6.
Compilation failed in require at 
/usr/lib/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm line 41.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm line 41.
Compilation failed in require at /usr/lib/perl5/site_perl/Mail/SpamAssassin.pm line 61.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/Mail/SpamAssassin.pm 
line 61.
Compilation failed in require at /usr/bin/spamassassin line 57.

I checked and HTML::Parser is in /usr/lib/perl5/site_perl/i386-linux, which is in @INC 
above.

This was being done by a non-root user, so it could be a permission problem (I had to 
chmod a number of perl 
folders to allow non-root users to use SA). I heard that HTML::Parser has a C 
component to it. I'm wondering if 
that isn't loading properly.

I tried re-installing HTML::Parser with perl -MCPAN -e shell and it said it was up to 
date. I told it to do it 
anyway with force. Unfortunately, that didn't fix anything.

Anyone got any ideas? If that C component is the problem, does anyone know where it is 
and what its name is?

Thanks.
:GeckoX


---
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
___
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk



Re: [SAtalk] Problem with HTML::Parser in SA

2002-11-14 Thread GeckoX
Thanks. That helped. The problem was that my non-root users didn't have permission to 
execute the auto/ directory 
to access Parser/Parser.*. Once I chmoded 755 auto/ auto/HTML/ auto/HTML/Parser, it 
worked.

Thank you.
:GeckoX


++ 14/11/02 08:35 +0100 - Jan Schreckenbach:
>Hi,
>
>these are the files for perl-HTML-Parser (installed via RPM) at my
>system:
>
>rpm -ql perl-HTML-Parser|grep lib
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/HTML/Entities.pm
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/HTML/Filter.pm
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/HTML/HeadParser.pm
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/HTML/LinkExtor.pm
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/HTML/Parser.pm
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/HTML/PullParser.pm
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/HTML/TokeParser.pm
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/HTML/Parser/.packlist
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/HTML/Parser/Parser.bs
>/usr/lib/perl5/site_perl/5.6.1/i586-linux/auto/HTML/Parser/Parser.so

>Maybe there are files missing due to the permission problems.
>
>cu,
>Jan
>



---
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
___
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk