Intrepid has asked for the wisdom of the Perl Monks concerning the following question:
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.
Struck out imaginary module Module::Install::Tiny, in first paragraph above.
Jun 16, 2025 at 18:47 UTCA 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)
|
---|