spamd causing perl compilation error

HPN-RICK

New member
Joined
May 9, 2004
Messages
3
Location
Amsterdam, The Netherlands
Hiya,

We are running DirectAdmin on FreeBSD 4.9 and upon installing SpamAssassin we got the following error while starting spamd;

Can't locate HTML/Parser.pm in @INC (@INC contains: ../lib /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0) at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/HTML.pm line 7.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/HTML.pm line 7.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 42.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 42.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 62.
Compilation failed in require at /usr/local/bin/spamd line 33.
BEGIN failed--compilation aborted at /usr/local/bin/spamd line 33.

We are unable to locate the error, while compiling MailScanner, everything seemed fine, so we don't have any clue.

Possible to help me a hand?

:)

*Edit = Sorry for the layout.
 
Hi,

Looks like you're missing the HTML/Parser.pm module.

Try installing p5-HTML-Parser from ports
 
Install HTML::parser;

perl -MCPAN -eshell
install HTML::parser

If you run into errors while installing HTML::parser, give this command from the console and try again:

unset LANG

Tino
 
It's freebsd:
Code:
cd /usr/ports/www/p5-HTML-Parser
make install clean
 
Back
Top