Problem with perl-CPAN RPM on Red Hat 8.0

I wonder if anyone else has run into this:

$ perl sbin/rt-test-dependencies --with-mysql --with-modperl1 --install
MASON dependencies:
Params::Validate 0.02…MISSING
Number found where operator expected at /usr/lib/perl5/5.8.0/CPAN/FirstTime.pm
line 464, near “<= 60 && -s _ > 0”
(Missing operator before 0?)
syntax error at /usr/lib/perl5/5.8.0/CPAN/FirstTime.pm line 464, near "<= 60
&& -s _ > 0"
Global symbol “$mby” requires explicit package name at
/usr/lib/perl5/5.8.0/CPAN/FirstTime.pm line 476.

I have:

foyle:rt-3-0-0$ rpm -q perl-CPAN
perl-CPAN-1.61-55
foyle:rt-3-0-0$ rpm -q perl
perl-5.8.0-55

Ian Grant, Computer Lab., William Gates Building, JJ Thomson Ave., Cambridge
Phone: +44 1223 334420

Hello,

–Am Dienstag, 1. April 2003 9:52 Uhr +0100 schrieb Ian Grant
Ian.Grant@cl.cam.ac.uk:

$ perl sbin/rt-test-dependencies --with-mysql --with-modperl1 --install
MASON dependencies:
Params::Validate 0.02…MISSING
Number found where operator expected at
/usr/lib/perl5/5.8.0/CPAN/FirstTime.pm line 464, near “<= 60 && -s _ > 0”
(Missing operator before 0?)
syntax error at /usr/lib/perl5/5.8.0/CPAN/FirstTime.pm line 464, near "<=
60 && -s _ > 0"
Global symbol “$mby” requires explicit package name at
/usr/lib/perl5/5.8.0/CPAN/FirstTime.pm line 476.

yes, I also had this or something similar. I got rid of it by doing as root:

perl -MCPAN -e shell

answering all questions for configuring CPAN once

install CPAN::Bundle
exit

then

perl -MCPAN -e shell

AGAIN answering all the questions, now persistent in the CPAN directories.

install mod_perl
exit

and after that:

perl sbin/rt-test-dependencies --with-mysql --with-modperl1 --install

worked correct.

Dirk.

yes, I also had this or something similar. I got rid of it by doing as root:

perl -MCPAN -e shell

answering all questions for configuring CPAN once

install CPAN::Bundle
exit

Many thanks, this worked. (But I typed bundle::CPAN instead.)

Regards
Ian
Ian Grant, Computer Lab., William Gates Building, JJ Thomson Ave., Cambridge
Phone: +44 1223 334420