Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

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


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

Do you have two Perls installed on your machine? Since the output says @INC is D:/strawberry/perl/site/lib D:/strawberry/perl/vendor/lib D:/strawberry/perl/lib, while cpanm is attempting to install to C:\Users\U0159691\perl5\. Which Perl installation are you actually using? Try uninstalling the other. Have you tried using regular cpan instead of cpanm?


Comment on Re^3: CPAN failing to install PAR::Package
Select or Download Code
Re^4: CPAN failing to install PAR::Package
by Keiichi (Initiate) on Jun 17, 2014 at 20:22 UTC
    Not long ago I updated Strawberry from 5.14 to 5.18; I uninstalled the old version first, but it's possible some things got left behind.

    As far as I can tell, I only have one version of Perl installed. I removed the perl5 folder before reinstalling 5.18, just prior to positing my question. Control Panel lists only one. I can only infer that the perl5 folder was installed along with Strawberry. Do you know if there is an insurgent program available to completely clean all Perl versions from a machine?

    Running cpan rather than cpanm results in a large number of failed tests
    Thank you for the suggestions, though.

      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"

        Here you go... Thanks again for your time and effort in helping me with this :).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-11-29 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (203 votes), past polls