New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1371 votes ~ 15 comments )

 

Weblog entry #386 for simonw

Perl Snapshot and moving to 64 bit
Posted by simonw on Tue 17 Aug 2010 at 17:10
Tags: none.
Trying to migrate from 32 bit to 64 bit web server.

Perl autobundle based approach didn't look like they would ever leave me a working set of local perl modules (and definitely not till several days of installing was past), so I rsync'ed /usr/local/share/perl and /usr/local/lib/perl.

None of the compiled code in /usr/local/lib/perl is usuable as it is 32bit code, but cpan has a "recompile" option for just this sort of situation. A couple of modules failed automatic recompilation, but doing cpan "force install" of two that failed, and two dependencies, and it was left complaining about an in-house Perl module written in C (huh?) - at which point my System Admin hat is removed, and my "can I remember how to write C" hat replaced it.

It took a lot of reading before I noticed the "recompile" command in cpan. If you need to use it you've probably gone wrong, on the other hand ~5500 perl modules installed and working before lunch.

 

 

 

Flattr