Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-07-28 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (186 votes), past polls