Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: CPAN failing to install PAR::Package

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


in reply to CPAN failing to install PAR::Package

What's going on here?

Installing C:UsersU0159691perl5\lib\perl5\Module\ScanDeps.pm Installing C:UsersU0159691perl5\lib\perl5\Module\ScanDeps\Cache.pm Installing C:UsersU0159691perl5\lib\perl5\Module\ScanDeps\DataFeed.pm Installing C:UsersU0159691perl5\bin\scandeps.bat Installing C:UsersU0159691perl5\bin\scandeps.pl

Is the output / post just mangled, or is it really trying to install to those bad pathnames? Can you check if those files exist?

Also, what does perl -MModule::ScanDeps or perl -MGetopt::ArgvFile say?


Comment on Re: CPAN failing to install PAR::Package
Select or Download Code
Re^2: CPAN failing to install PAR::Package
by Keiichi (Initiate) on Jun 17, 2014 at 19:24 UTC
    Interesting... It is apparently installing them somewhere it can't find... Here's the output from your suggested commands:
    D:\>perl -MModule::ScanDeps Can't locate Module/ScanDeps.pm in @INC (you may need to install the M +odule::ScanDeps module) (@INC contains: D:/strawberry/perl/site/lib D +:/strawberr y/perl/vendor/lib D:/strawberry/perl/lib .). BEGIN failed--compilation aborted. D:\>perl -MModule::ScanDeps Can't locate Module/ScanDeps.pm in @INC (you may need to install the M +odule::ScanDeps module) (@INC contains: D:/strawberry/perl/site/lib D +:/strawberr y/perl/vendor/lib D:/strawberry/perl/lib .). BEGIN failed--compilation aborted.
    I can see folders for Getopt-ArgvFile-1.11 and Module-ScanDeps-1.13, along with Path-Class-0.33, at C:\Users\U0159691\perl5\lib\perl5\MSWin32-x64-multi-thread\.meta. The post is copied directly from the build log. I don't see any directories called UsersU0159691perl5 on my C: drive.

    Does Strawberry or CPAN keep local install locations in a file I can access, to check if the paths are correct?

      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?

        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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2015-07-07 12:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls