I suspect something is awry with your setup. I just ran cpanm --look Compress::Raw::Zlib using Strawberry Perl 5.38.2.2 and the build and test worked without issue.

If you are using the portable version then have you run the portableshell.bat that lives in the top of the Strawberry Perl directory? If you installed using the MSI then does the path include .../perl/bin, .../c/bin and .../perl/site/bin?

Edit:

The issue with Statistics::R is related to the removal of dot-in-inc in perl 5.26: https://metacpan.org/release/XSAWYERX/perl-5.26.0/view/pod/perldelta.pod#Notice.

It can be built manually using this sequence (uncomment the last line to install):

cpanm --look Statistics::R perl -I. Makefile.PL gmake test ::gmake install

One of the tests fails on my system but it seems to be due to buffering of messages to stderr. I have not looked further.

t/03-run.t ......... 4/? # R version 4.1.0 found at C:\Program Files\R +\R-4.1.0\bin\x64\R.EXE # Failed test 'IO' # at t/03-run.t line 53. # got: '' # expected: 'Some innocuous message on stderr' # Failed test at t/03-run.t line 56. # got: 'Some innocuous message on stderrSome innocuous messag +e on stdout' # expected: 'Some innocuous message on stdout' # Looks like you failed 2 tests of 21. t/03-run.t ......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/21 subtests

(Edit2 - maybe it's not dot-in-inc since cpan testers has it passing on linux for later versions, nonetheless the above works with Strawberry Perl).


In reply to Re: Perl 5.38 64 bit cpanm fails by swl
in thread Perl 5.38 64 bit cpanm fails by phew47

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.