I've rarely had problems with CPAN forcing an install of 5.6 You should be able to prevent it, in most cases.
You can configure CPAN to always prompt you before installing required packages. You need to copy /perl/directory/CPAN/Config.pm to $HOME/.cpan/CPAN/MyConfig.pm. In there you should edit the following line:
‘prerequisites_policy’ => q[follow],
change it to:
‘prerequisites_policy’ => q[ask],
Note, however, that some of the required modules for RT require Data::Dumper. This module has been included in Perl 5.6 and up. So when prompted, if you say ‘yes’ to install data::dumper you will actually be installing perl5.6. So say no to any data::dumper requests. You would be best off downloading it from cpan.org and installing it manually (since data::dumper does not need 5.6) and then start using cpan for the modules required by rt.
Drew
> -----Original Message-----
> From: rt-users-admin@lists.fsck.com
> [mailto:rt-users-admin@lists.fsck.com]On Behalf Of Chris Waltham
> Sent: Friday, June 29, 2001 4:09 AM
> To: rt-users@lists.fsck.com
> Subject: [rt-users] Using CPAN
>
>
> Being the type of Unix administrators (rare, I’m sure) not to use
> Perl too
> often,
> I was wondering if someone could tell me something about CPAN. Granted,
> it’s a little
> off-topic for the list, but I am upgrading from rt 1.x to 2.0…
>
> Is there any way to stop Perl from going out and building the latest
> version of Perl
> (I’m guessing 5.6.1) every time I want to install something from
> CPAN? I mean,
> I ran the rt/tools/testdeps script to see what I didn’t have
> installed (it
> needs a lot
> more stuff than 1.x!), but I’d rather do it by hand. I gave CPAN a try,
> though, and off
> it runs to download and compile the new version of Perl. Granted, some of
> the modules
> I’m trying to install may depend on Perl 5.6.1, but I would
> think this is
> somewhat
> unlikely.
>
> Am I just doing something wrong?
>
> cheers,
>
>
> Chris
>
>
> _______________________________________________
> rt-users mailing list
> rt-users@lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
Get your free email from http://mymail.prodigy.net