in reply to migrate cpan from AIX to Red Hat

I always start out trying to stick with RPM packages when using a fresh RH/CentOS box and every single time I end up having to pull modules from CPAN because the shrinkwrapped ones simply don't work or miss out on dependencies.

Last time it happed was just a few days ago when I tried to install HTML::Mason and Apache::Request was missing. The official repo had no RPM for my platform and so I had to install about 25-30 modules from CPAN anyway. The RPM'ed HTML::Mason ofcourse refused to work with those, so I had to reinstall that from CPAN as well.

Long story short: Just bite the compile bullet and install from CPAN right away, because that's what you'll end up doing anyway.

Just my 0.02

-- FloydATC

Time flies when you don't know what you're doing

Replies are listed 'Best First'.
Re^2: migrate cpan from AIX to Red Hat
by sazo (Novice) on Aug 06, 2013 at 07:51 UTC
    Thanks FloydATC, If I would like to replicate the CPAN from one machine to the other, what should I do? Should I use the perllocal.doc file from machine1 with some parser to install the same modules on machine2? I guess the autobundle wont work if the two machines are different architectures (AIX vs. RedHat on x86).