Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: It's Tuesday, so it must be the day for Trouble With Cpan

by ikegami (Patriarch)
on Jun 03, 2025 at 18:46 UTC ( [id://11165230]=note: print w/replies, xml ) Need Help??


in reply to Re: It's Tuesday, so it must be the day for Trouble With Cpan
in thread It's Tuesday, so it must be the day for Trouble With Cpan

My guess: «C:/...» is used, and the «/» in «C:/...» is treated as the start of a switch. This can be fixed by using «C:\...» or «"C:/..."» instead.

Replies are listed 'Best First'.
Re^3: It's Tuesday, so it must be the day for Trouble With Cpan
by ikegami (Patriarch) on Jun 03, 2025 at 18:49 UTC

    And the fact that a Cygwin build of make is used when installing a module for a Windows build of Perl could also cause issues. Stick to one OS! Strawberry already provides the tools you need.

      ikegami wrote:
      > Stick to one OS! Strawberry already provides the tools you need.

      Aye. Good advice. My memory is not reliable these days: I saw this discussed wrt Gnu 'make' not so long ago here on PMo. The first tool CPAN config asks for is 'make'. And I couldn't find it in the Strawberry utilities. Now that I've been sharply reminded I've gone and looked more thoroughly on the USB stick, and there is D:/SBP/c/bin/gmake.exe and D:/SBP/c/bin/mingw32-make.exe present. I think I'll tell cpan to use gmake.exe since they are identical files.

      So I used all Cygwin tools as the config rolled on. Misled by not finding make as make.exe. Now I'll have to change all the external tools. ;-(

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2025-07-11 08:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.