Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: create-modulino.pl appears in a CPAN module Makefile.PL, and nukes the install retval

by Intrepid (Curate)
on Sep 25, 2025 at 16:34 UTC ( [id://11166365]=note: print w/replies, xml ) Need Help??


in reply to Re: create-modulino.pl appears in a CPAN module Makefile.PL, and nukes the install retval
in thread create-modulino.pl appears in a CPAN module Makefile.PL, and nukes the install retval

ikegami wisely surmised:

This is a sh command, but it's being passed to cmd to an unsurprising result.

Having slept on it, I have come to the conclusion that what you say is correct.

This module's installer isn't portable.

Yes–no, it's not portable. I thought I had the kinks worked out of my setup and that win32 perl would handle sh commands but obviously I have not. I'll have to decide how much effort to put into solving that, since I've watched dozens of successful installs from CPAN recently, and this is just one exceptional failure.

    — Soren

Sep 25, 2025 at 16:34 UTC
  • Comment on Re^2: create-modulino.pl appears in a CPAN module Makefile.PL, and nukes the install retval

Replies are listed 'Best First'.
Re^3: create-modulino.pl appears in a CPAN module Makefile.PL, and nukes the install retval
by ysth (Canon) on Sep 26, 2025 at 13:51 UTC
    If the normal behavior with strawberry is that make commands use cmd, not sh, there may be already fixed distros that rely on that (checking os in Makefile.PL). Futzing your setup to make this one work would then break those; better to just see it as a bug in this distro and change nothing in your setup.

      To my knowledge, there's no port of sh available for Windows.

      (There are Cywgin and MSYS binaries, but those run inside of an emulation of unix.)

      One of the motivations for Module::Build was to end the reliance on external OS-specific tools. ExtUtils::MakeMaker relies on make and therefore on external tools or Perl re-implementations of them.

        Git for Windows (referenced from https://git-scm.com/downloads/win) provides a BASH emulation, used to run Git from the command line. Some of the external commands, like ls, vi, nano and perl (currently v5.38.2), are provided, others, like ed, mkfs 😉, or gcc, aren't, but you can call Windows programs just like from CMD.EXE. This is, of course, also an emulation, but one that you possibly might have installed anyway.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11166365]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2026-03-11 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.