I try to install CPAN::Checksums 2.14 on a Windows 10 computer. I use Strawberry Perl v5.32.0. Please tell me if you need more information

As you can see below it seems to be a permission error when renaming a file. The permission to rename a file should be there.

cpan> install CPAN::Checksums Database was generated on Wed, 01 Jun 2022 07:40:52 GMT Running install for module 'CPAN::Checksums' Checksum for C:\STRAWB~1\cpan\sources\authors\id\A\AN\ANDK\CPAN-Checks +ums-2.14.tar.gz ok Scanning cache C:\STRAWB~1\cpan\build for sizes ...................................................................... +......DONE Configuring A/AN/ANDK/CPAN-Checksums-2.14.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a gmake-style Makefile Writing Makefile for CPAN::Checksums Writing MYMETA.yml and MYMETA.json ANDK/CPAN-Checksums-2.14.tar.gz C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for A/AN/ANDK/CPAN-Checksums-2.14.tar.gz cp lib/CPAN/Checksums.pm blib\lib\CPAN\Checksums.pm ANDK/CPAN-Checksums-2.14.tar.gz C:\STRAWB~1\c\bin\gmake.exe -- OK Running make test for ANDK/CPAN-Checksums-2.14.tar.gz "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\l +ib', 'blib\arch')" t/*.t t/00signature.t .. skipped: Cannot connect to the keyserver t/52podcover.t ... ok t/pod.t .......... ok t/updatedir.t .... 8/? # Failed test 'cpan_path is as expected' # at t/updatedir.t line 85. # 't\tdir' # doesn't match '(?^:t/tdir$)' # { # '1' => { # 'cpan_path' => 't\\tdir', # 'md5' => 'c4ca4238a0b923820dcc509a6f75849b', # 'mtime' => '2022-06-01', # 'sha256' => '6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01 +e52ddb7875b4b', # 'size' => 1 # }, # '2' => { # 'cpan_path' => 't\\tdir', # 'md5' => '10400c6faf166902b52fb97042f1e0eb', # 'mtime' => '2022-06-01', # 'sha256' => 'df4e26a04a444901b95afef44e4a96cfae34690fff2ad2c6638 +9c70079cdff2b', # 'size' => 3 # } # } # Failed test 'size of file 2 is 2' # at t/updatedir.t line 88. # got: '3' # expected: '2' Could not rename: Permission denied at C:\STRAWB~1\cpan\build\CPAN-Che +cksums-2.14-1\blib\lib/CPAN/Checksums.pm line 224. # Tests were run but no plan was declared and done_testing() was not s +een. # Looks like your test exited with 13 just after 29. t/updatedir.t .... Dubious, test returned 13 (wstat 3328, 0xd00) Failed 2/29 subtests Test Summary Report ------------------- t/updatedir.t (Wstat: 3328 Tests: 29 Failed: 2) Failed tests: 26, 28 Non-zero exit status: 13 Parse errors: No plan found in TAP output Files=4, Tests=31, 3 wallclock secs ( 0.06 usr + 0.05 sys = 0.11 CP +U) Result: FAIL Failed 1/4 test programs. 2/31 subtests failed. gmake: *** [Makefile:887: test_dynamic] Error 13 Lockfile removed. ANDK/CPAN-Checksums-2.14.tar.gz C:\STRAWB~1\c\bin\gmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports ANDK/CPAN-Checksums-2.14.tar.gz Stopping: 'install' failed for 'CPAN::Checksums'. Failed during this command: ANDK/CPAN-Checksums-2.14.tar.gz : make_test NO

By the way, command reports ANDK/CPAN-Checksums-2.14.tar.gz is not working for me because it is an offline CPAN.

Would be great if you could give me some hints how to solve it. Thank you!


In reply to Installing of CPAN::Checksums 2.14 is not working by Dirk80

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.