Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Problems obtaining nmake

by merrymonk (Hermit)
on Apr 08, 2018 at 13:33 UTC ( [id://1212532]=perlquestion: print w/replies, xml ) Need Help??

merrymonk has asked for the wisdom of the Perl Monks concerning the following question:

In a query on Apr 07, 2018 at 13:22 UTC ( #1212481=perlquestion: print w/replies, xml ) I got some helpful advice about how to install missing Perl modules that I require for LWP::UserAgent.
I was given a link about installing Perl modules which took me to http://www.perlmonks.org/?node_id=128077
This page indicates I need to use nmake. You can get a copy from M$ here:
nmake via FTP
or here
nmake via HTTP

Sadly neither link worked
The first link said “the site cannot be reached - ftp.microsoft.com took too long to respond”
The second link said “The web page at http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe might be temporarily down or it may have moved permanently to a new web address.”

Can someone tell me where to find the nmake application that I need – I am using Windows 10?

Replies are listed 'Best First'.
Re: Problems obtaining nmake
by marto (Cardinal) on Apr 08, 2018 at 13:42 UTC

      Agree. I'm exclusively on Windows and moved from ActiveState to Strawberry in 2009 and never looked back. It just works the way Perl is supposed to work.

        Thank you. I am using a version of Perl from a commercial organisation since I use applications from that organisation that are based on this version of Perl. Therefore I do not see how changing to Strawberry Perl is an option I can easily take.
Re: Problems obtaining nmake
by Anonymous Monk on Apr 08, 2018 at 17:55 UTC
    Install dmake from cpan.
        ppm install dmake

        If it's an older version of perl, AS might deny access to the ppm repo (unless a fee is paid).
        If access to the ppm repo is available, the OP can also install LWP::UserAgent and associated modules with:
        ppm install libwww-perl
        Cheers,
        Rob
Re: Problems obtaining nmake
by jonadab (Parson) on Apr 09, 2018 at 10:34 UTC

    I thought this was a April Fool's posting, until I actually went to node 128077 (A Guide to Installing Modules). It does indeed specifically recommend getting nmake, particularly. Which seems bizarre to me. The normal recommendation I've seen is that if the only make you have is nmake, the first thing you do is get a better make.

    Allow me to second the recommendation of using Strawberry Perl, which ships with a mostly-working CPAN.pm. If that isn't good enough, there's always cygwin. Or, if you have the misfortune to be on Ten, you also have WSL as a consolation prize.

      Which seems bizarre to me. The normal recommendation I've seen is that if the only make you have is nmake, the first thing you do is get a better make.

      While that may or may not be your personal conviction, this is not good advice to use when trying to find the appropriate make tool to use with your Perl tool chain.

      For Perl, you use whatever make tool is listed by:

      perl -V:make

      On Strawberry Perl, this is dmake, and dmake happens to be shipped with Strawberry Perl already.

      On (older versions of) ActiveState Perl and many things using the MSVC tool chain, this outputs nmake and it behooves you to use nmake as your build tool then, because all the tools within the Perl ecosystem that care about $Config{make} will output Makefiles compatible with the nmake slang of make then.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1212532]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-03-28 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found