RH9 Parser.pm error

Julian Field mailscanner at ecs.soton.ac.uk
Mon May 12 11:10:30 IST 2003


At 09:53 12/05/2003, you wrote:

>I have just upgraded from RH7.3 to RH9 and now receive the following error
>when starting Mailscanner:

Ah! There's your problem. Upgrading results in a load of Perl modules being
installed in the wrong place, due to a new version of Perl in RH8 and 9.

You can safely leave the RPM's in place, but use CPAN to install the
modules again.
         perl -MCPAN -e shell
         o conf prerequisites_policy ask
         install HTML::Parser
         quit


>
>
>[root at ns MailScanner-4.20-1]# /etc/init.d/MailScanner start
>
>Starting MailScanner daemons:
>
>          incoming sendmail: [  OK  ]
>
>          outgoing sendmail: [  OK  ]
>
>          MailScanner:       Can't locate MIME/Parser.pm in @INC (@INC
> contains: /usr/lib/MailScanner
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .
> /usr/lib/MailScanner) at /usr/lib/MailScanner/MailScanner/Message.pm line 40.
>
>BEGIN failed--compilation aborted at
>/usr/lib/MailScanner/MailScanner/Message.pm line 40.
>
>Compilation failed in require at /usr/sbin/MailScanner line 48.
>
>BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 48.
>
>[  OK  ]
>
>
>
>I have checked and the RPM has been installed at
>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/HTML/Parser.pm.
>If I try to uninstall the rpm, it errors out with perl(HTML::Parser) is
>needed by (installed) perl-libwww-perl-5.65-6.   I have checked the
>threads and it seems that others have it installed on RH9 and dont have
>the problem.  I appreciate any help.
>
>
>
>Tom

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list