Hello Monks!

For context: I am working on Windows 7 64bit, using Strawberry Perl 5.18.2.2 64bit.

I'm attempting to get set up to build Perl executables, and I'm running into a problem when using CPAN to install PAR::Package. I have uninstalled Strawberry and deleted all Perl related programs/files, cleared the PERL5LIB environment variable, and reinstalled them in an attempt to fix the issue, to no avail.

When I run 'cpanm PAR::Package', it runs through the whole process of determining and installing dependencies, only to fail right at the end.

As you can see in the console output and cpan build log below, it claims that both dependencies for PAR::Package are installed successfully - only to bail out after failing to install the dependencies. I installed Path::Class to verify that simple installs do work. It fails similarly for installing pp alone.

Do any of you good Monks have insight into what's failing?
Please let me know if you need me to clarify anything or provide any other details.
D:\>cpanm PAR::Packer --> Working on PAR::Packer Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-1.018. +tar.gz ... OK Configuring PAR-Packer-1.018 ... OK ==> Found dependencies: Module::ScanDeps, Getopt::ArgvFile --> Working on Module::ScanDeps Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-1 +.13.tar.gz ... OK Configuring Module-ScanDeps-1.13 ... OK Building and testing Module-ScanDeps-1.13 ... OK Successfully installed Module-ScanDeps-1.13 --> Working on Getopt::ArgvFile Fetching http://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile- +1.11.tar.gz ... OK Configuring Getopt-ArgvFile-1.11 ... OK Building and testing Getopt-ArgvFile-1.11 ... OK Successfully installed Getopt-ArgvFile-1.11 ! Installing the dependencies failed: Module 'Getopt::ArgvFile' is not + installed, Module 'Module::ScanDeps' is not installed ! Bailing out the installation for PAR-Packer-1.018. 2 distributions installed D:\>cpanm Path::Class --> Working on Path::Class Fetching http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Path-Class-0.33 +.tar.gz ... OK Configuring Path-Class-0.33 ... OK Building and testing Path-Class-0.33 ... OK Successfully installed Path-Class-0.33 1 distribution installed D:\>cpanm pp --> Working on pp Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-1.018. +tar.gz ... OK Configuring PAR-Packer-1.018 ... OK ==> Found dependencies: Getopt::ArgvFile, Module::ScanDeps --> Working on Getopt::ArgvFile Fetching http://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile- +1.11.tar.gz ... OK Configuring Getopt-ArgvFile-1.11 ... OK Building and testing Getopt-ArgvFile-1.11 ... OK Successfully installed Getopt-ArgvFile-1.11 --> Working on Module::ScanDeps Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-1 +.13.tar.gz ... OK Configuring Module-ScanDeps-1.13 ... OK Building and testing Module-ScanDeps-1.13 ... OK Successfully installed Module-ScanDeps-1.13 ! Installing the dependencies failed: Module 'Getopt::ArgvFile' is not + installed, Module 'Module::ScanDeps' is not installed ! Bailing out the installation for PAR-Packer-1.018. 2 distributions installed ###################################################################### BUILD LOG FOR [PAR::Packer]: cpanm (App::cpanminus) 1.7001 on perl 5.018002 built for MSWin32-x64-m +ulti-thread Work directory is C:\Users\U0159691/.cpanm/work/1403027263.6364 You have make D:\strawberry\c\bin\dmake.exe You have LWP 6.05 Falling back to Archive::Tar 1.96 Searching pp on cpanmetadb ... --> Working on pp Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-1.018. +tar.gz -> OK Unpacking PAR-Packer-1.018.tar.gz Entering PAR-Packer-1.018 Checking configure dependencies from META.yml Checking if you have ExtUtils::Embed 0 ... Yes (1.30) Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.94) Configuring PAR-Packer-1.018 Running Makefile.PL Warning: prerequisite Getopt::ArgvFile 1.07 not found. Warning: prerequisite Module::ScanDeps 1.09 not found. Checking if your kit is complete... Looks good Prototype mismatch: sub main::prompt: none vs ($;$) at D:/strawberry/p +erl/lib/ExtUtils/MakeMaker.pm line 221. Warning: NAME must be a package name Generating a dmake-style Makefile Writing Makefile for par.exe Writing MYMETA.yml and MYMETA.json Generating a dmake-style Makefile Writing Makefile for PAR::Packer Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.94) Checking if you have Archive::Zip 1 ... Yes (1.37) Checking if you have Getopt::ArgvFile 1.07 ... No Checking if you have Win32::Process 0 ... Yes (0.16) Checking if you have Compress::Zlib 1.16 ... Yes (2.064) Checking if you have Module::ScanDeps 1.09 ... No Checking if you have PAR 1.005 ... Yes (1.007) Checking if you have IO::Compress::Gzip 0 ... Yes (2.064) Checking if you have PAR::Dist 0.22 ... Yes (0.49) Checking if you have Win32::Exe 0.17 ... Yes (0.17) Checking if you have Parse::Binary 0.04 ... Yes (0.11) Checking if you have File::Temp 0.05 ... Yes (0.2304) Checking if you have ExtUtils::Embed 0 ... Yes (1.30) ==> Found dependencies: Getopt::ArgvFile, Module::ScanDeps Searching Getopt::ArgvFile on cpanmetadb ... --> Working on Getopt::ArgvFile Fetching http://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile- +1.11.tar.gz -> OK Unpacking Getopt-ArgvFile-1.11.tar.gz Entering Getopt-ArgvFile-1.11 Checking configure dependencies from META.yml Configuring Getopt-ArgvFile-1.11 Running Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Getopt::ArgvFile Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::Harness 1.25 ... Yes (3.28) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.94) Checking if you have Text::ParseWords 3.1 ... Yes (3.29) Checking if you have Test::More 0.11 ... Yes (1.001003) Building and testing Getopt-ArgvFile-1.11 cp ArgvFile.pm blib\lib\Getopt\ArgvFile.pm D:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Har +ness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib +', 'blib\arch')" t/*.t t/base.t ........... ok t/expandenv.t ...... ok t/fileopt.t ........ ok t/noHOMEvar.t ...... ok t/pod-coverage.t ... skipped: Test::Pod::Coverage 1.00 required for te +sting POD coverage t/pod.t ............ skipped: Test::Pod 1.00 required for testing POD t/prefix.t ......... ok t/resolvepathes.t .. ok t/use1.t ........... ok t/use2.t ........... ok All tests successful. Files=10, Tests=43, 1 wallclock secs ( 0.08 usr + 0.01 sys = 0.09 C +PU) Result: PASS Installing C:UsersU0159691perl5\lib\perl5\Getopt\ArgvFile.pm Appending installation info to C:UsersU0159691perl5\lib\perl5\MSWin32- +x64-multi-thread/perllocal.pod -> OK Successfully installed Getopt-ArgvFile-1.11 Installing C:\Users\U0159691\perl5\lib\perl5\MSWin32-x64-multi-thread\ +.meta\Getopt-ArgvFile-1.11\install.json Searching Module::ScanDeps on cpanmetadb ... --> Working on Module::ScanDeps Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-1 +.13.tar.gz -> OK Unpacking Module-ScanDeps-1.13.tar.gz Entering Module-ScanDeps-1.13 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.94) Configuring Module-ScanDeps-1.13 Running Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Module::ScanDeps Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.94) Checking if you have version 0 ... Yes (0.9908) Checking if you have File::Spec 0 ... Yes (3.40) Checking if you have Module::Build::ModuleInfo 0 ... Yes (0.4205) Checking if you have Test::More 0 ... Yes (1.001003) Checking if you have File::Temp 0 ... Yes (0.2304) Checking if you have Test::Requires 0 ... Yes (0.07) Building and testing Module-ScanDeps-1.13 cp lib/Module/ScanDeps.pm blib\lib\Module\ScanDeps.pm cp lib/Module/ScanDeps/DataFeed.pm blib\lib\Module\ScanDeps\DataFeed.p +m cp lib/Module/ScanDeps/Cache.pm blib\lib\Module\ScanDeps\Cache.pm D:\strawberry\perl\bin\perl.exe "-Iinc" -MExtUtils::Command -e cp -- s +cript/scandeps.pl blib\script\scandeps.pl pl2bat.bat blib\script\scandeps.pl D:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Har +ness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'b +lib\lib', 'blib\arch')" t/*.t t/0-pod.t ....................................... skipped: Test requir +es module 'Test::Pod' but it's not found t/1-static_functional_interface_real.t .......... ok t/10-case-insensitive-keys.t .................... ok t/12-ScanFileRE.t ............................... ok t/13-static_prefork_test.t ...................... skipped: Test requir +es module 'prefork' but it's not found t/14-scan_chunk.t ............................... ok 0 Couldn't retrieve data from file deps_cache.dat. Building new cache. t/14-static_functional_cached.t ................. ok t/16-scan_line.t ................................ ok t/17-private_methods.t .......................... ok t/2-static_functional_interface_fake.t .......... ok t/3-static_oo_interface_real.t .................. ok t/4-static_functional_interface_options_fake.t .. ok t/5-pluggable_fake.t ............................ ok t/6-file-glob.t ................................. ok # dynamic modules used for test: Cwd File::Glob Data::Dumper List::Uti +l Time::HiRes Compress::Raw::Zlib C:\Users\U0159691\AppData\Local\Temp\uwyURPVNJz syntax OK C:\Users\U0159691\AppData\Local\Temp\ATNh5JjezZ syntax OK C:\Users\U0159691\AppData\Local\Temp\rXqbhR4NUn syntax OK C:\Users\U0159691\AppData\Local\Temp\Rq1Cl3YqSx syntax OK C:\Users\U0159691\AppData\Local\Temp\L64kkPGD3z syntax OK C:\Users\U0159691\AppData\Local\Temp\uV67Rb5nx4 syntax OK t/7-check-dynaloader.t .......................... ok t/8-check_duplicated_entries.t .................. ok t/9-check_path_to_inc_name.t .................... ok t/rt90869.t ..................................... ok All tests successful. Files=18, Tests=16709, 20 wallclock secs ( 0.98 usr + 0.05 sys = 1.0 +3 CPU) Result: PASS 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 Appending installation info to C:UsersU0159691perl5\lib\perl5\MSWin32- +x64-multi-thread/perllocal.pod -> OK Successfully installed Module-ScanDeps-1.13 Installing C:\Users\U0159691\perl5\lib\perl5\MSWin32-x64-multi-thread\ +.meta\Module-ScanDeps-1.13\install.json -> FAIL Installing the dependencies failed: Module 'Getopt::ArgvFile' +is not installed, Module 'Module::ScanDeps' is not installed -> FAIL Bailing out the installation for PAR-Packer-1.018. 2 distributions installed

In reply to CPAN failing to install PAR::Package by Keiichi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.