I'm having trouble installing the Readonly module to StrawberryPerl apparently because it uses Module::Install::Tiny Module::Build::Tiny as its build / test / install infrastructure. I haven't been aware that I was running that build module before now, but obviously if nothing goes wrong the build system should be in the background just Doing The Right Thing™. So I won't have noticed.

I'm running a StrawberryPerl managed as an instance of Perl 5.40.2 by berrybrew. I feel like I have to show my fellow monks that I don't have a crazy setup, after some of my recent misadventures. Here's my %PATH% (speaking the CMD.exe dialect since we're talking about Windows):

/cygdrive/c/berrybrew/instance/5.40.2_64/c/bin
/cygdrive/c/berrybrew/instance/5.40.2_64/perl/bin
/cygdrive/c/berrybrew/instance/5.40.2_64/perl/site/bin
/cygdrive/c/Users/somia/Unpack-software/gitclones/berrybrew/bin
/cygdrive/c/Windows/System32
/cygdrive/c/windows
/cygdrive/c/Windows/7-zip
/cygdrive/c/windows/System32/Wbem
/cygdrive/c/py
/cygdrive/c/WINDOWS/system32
/cygdrive/c/WINDOWS
/cygdrive/c/WINDOWS/System32/Wbem
/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0
/cygdrive/c/Program Files/Docker/Docker/resources/bin
/cygdrive/c/Program Files/PowerShell/7
/cygdrive/c/perl/c/bin
/cygdrive/c/perl/perl/site/bin
/cygdrive/c/perl/perl/bin
/cygdrive/c/Users/somia/AppData/Local/Microsoft/WindowsApps
/cygdrive/c/Perl/bin

I know, it looks like I am running cygwin, but believe me, I have the right Perl and tools. The above is prettified output of a (perl) script I wrote to manage my PATH.

perl -le "print $^V" v5.40.2

What happens when I try to test and install the module is:

C:\Users\somia\build\strawberry-perl\Readonly-2.05-0>.\Build --verbose + test Skip blib\lib\Readonly.pm (unchanged)

Same thing when I type install instead of test.

I'm an EU::MM guy, I love make, and this just baffles me. I'm not trying to find someone to blame (no profit in that), but I would like to spend less time debugging the build of a simple module.

EDIT

Struck out imaginary module Module::Install::Tiny, in first paragraph above.

Jun 16, 2025 at 18:47 UTC

A just machine to make big decisions
Programmed by fellows (and gals) with compassion and vision
We'll be clean when their work is done
We'll be eternally free yes, and eternally young
Donald Fagen —> I.G.Y.
(Slightly modified for inclusiveness)


In reply to On Windows, With StrawberryPerl, Module::Build::Tiny fails to install a module by Intrepid

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.