locallib

Upgrade all modules installed by local::lib

此生再无相见时 提交于 2019-12-20 18:14:11
问题 I've been using local::lib to handle the installation of Perl modules on a server so I can get the right versions for some development work without polluting the system installation. However, the system administrator has recently upgraded Perl from 5.16 to 5.18 and I'm now getting errors relating to binary modules, e.g. perl -e 'use Scalar::Util' Perl API version v5.16.0 of List::Util does not match v5.18.0 at /usr/lib64/perl5/5.18.2/XSLoader.pm line 92. Compilation failed in require at /home

perlbrew and local::lib at the same time?

杀马特。学长 韩版系。学妹 提交于 2019-12-03 05:45:57
问题 So far I have been using the system perl (on Ubuntu 10.10) and I was using local::lib to install CPAN modules in my private directory ~/perl5 As I am trying to use perlbrew it seems that they don't know about each other. I installed perl-5.12.3 using perlbrew but when I switch to it using perlbrew use perl-5.12.3 I still see the PERL5LIB and PERL_MM_OPT set by local::lib. That's not good: $ cpan XML::Simple /home/gabor/perl5/perlbrew/perls/perl-5.12.3/bin/perl: symbol lookup error: /home

Upgrade all modules installed by local::lib

风格不统一 提交于 2019-12-03 05:44:33
I've been using local::lib to handle the installation of Perl modules on a server so I can get the right versions for some development work without polluting the system installation. However, the system administrator has recently upgraded Perl from 5.16 to 5.18 and I'm now getting errors relating to binary modules, e.g. perl -e 'use Scalar::Util' Perl API version v5.16.0 of List::Util does not match v5.18.0 at /usr/lib64/perl5/5.18.2/XSLoader.pm line 92. Compilation failed in require at /home/paul/perl5/lib/perl5/x86_64-linux/Scalar/Util.pm line 11. Compilation failed in require at -e line 1.