Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^5: CPAN failing to install PAR::Package

by Anonymous Monk
on Jun 17, 2014 at 20:52 UTC ( #1090207=note: print w/ replies, xml ) Need Help??

in reply to Re^4: CPAN failing to install PAR::Package
in thread CPAN failing to install PAR::Package

Something somewhere is still referring to C:UsersU0159691perl5. Config file, environment variable, something. The output of perl -V would help in further diagnosing, as well as perl -MData::Dumper -e "print Dumper \%ENV"

Comment on Re^5: CPAN failing to install PAR::Package
Select or Download Code
Replies are listed 'Best First'.
Re^6: CPAN failing to install PAR::Package
by Keiichi (Initiate) on Jun 17, 2014 at 21:04 UTC
    Here you go... Thanks again for your time and effort in helping me with this :).

      Looks like we found the problem:

      'PERL_MM_OPT' => 'INSTALL_BASE=C:\\Users\\U0159691\\perl5',
      1. right-click "My Computer" and select "Properties"
      2. find the "Advanced" system settings (tab along the top or option at the left)
      3. click "Environment Variables"
      4. find the PERL_MM_OPT variable and delete it
      5. reboot since hey it's Windows
      6. try the installation via cpan or cpanm again

      If you can't find it, it's likely being set in some custom config / startup file somewhere, which might be a little harder to track down unless you know where it is.

      As a side note, you could remove C:\Users\U0159691\perl5\bin from your PATH while you're at it.

        Fantastic! It worked.

        Thanks again for your help.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1090207]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2015-11-25 11:28 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (674 votes), past polls