RH9 Parser.pm error
Ron Pool
amp1 at CORNELL.EDU
Tue May 13 13:31:07 IST 2003
I upgraded a RH7.3 box to RH9 this weekend, installed the new MailScanner,
and ran into the exact same problem. To solve it, I installed
MIME::Parser, not HTML::Parser, this way:
perl -MCPAN -e shell
o conf prerequisites_policy ask
install MIME::Parser
quit
If I recall correctly, CPAN wanted to add a few prerequisites for
MIME::Parser, so I let it.
-- Ron
--
Ron Pool Internet: amp1 at cornell.edu
Computer Services, NYSAES; Food Research Lab; West North St.; Geneva, NY 14456
On Mon, 12 May 2003, T² wrote:
> perl -MCPAN -e shell
> o conf prerequisites_policy ask
> install HTML::Parser
> quit
> Julian,
>
> I followed your instructions below to manual install the HTML::Parser
> and it was installed in the same directory as the upgraded RPM. I am
> still getting the error.
>
> Tom
>
>
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Julian Field
> Sent: Monday, May 12, 2003 3:11 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: RH9 Parser.pm error
>
> 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