If a Perl module is not available for the ActiveState version of Perl (ActivePerl), you might be able to download it from the Comprehensive Perl Archive Network (CPAN), and try to build and install it on Microsoft Windows.
Read the rest of Make for Windows: NMake.
I need Perl to work to install an R package; so I got perl installed. It said it needed make so I got Nmake as per your instructions. I put NMAKE.ERR and NMAKE.EXE into C:\Perl\bin as per instructions.
Then I tried the install again --- it said
'make' is not recognized as an internal or external command,
operable program or batch file.
*** Installation of ts.sup failed ***
Is there something else that I need to do?
cheers,
Rolf
Hi Rolf,
What did you try to install exactly, and did you run perl Makefile.PL again?
You have to use NMAKE instead of MAKE
perl Makefile.PL
NMAKE
NMAKE TEST
NMAKE INSTALL
Thanks for the info on nmake. It's very helpful. I encounter an error, however, trying to install DBD-Sybase:
makefile(41) : fatal error U1001: syntax error : illegal character '/' in macro Stop.
I'm not sure where to look up error codes or how to trouble-shoot. Is there any online resource that I could use? Is this an error in the MakeFile?
Thanks,
Tom
Thanks a lot. I am perl beginner, but want to write some useful stuf hence wanted some modules. At last I got somewhere. Still lots of things to be worked out but atleast i've got a start
Thanks for spelling this all out. I'm new to this and I needed CGI::Sessions. Most documentation out there are for Unix or if it's for windows they tell you to just PPM. Your instructions were clear and did not make my eyes bleed. A good thing. Thanks!
I would recommend a version of NMAKE higher than 1.5. Otherwise, you may run into problems like this NMAKE : fatal error U1095 Running `make ` on Windows XP is dying with an "expanded command line too long" error.
See: pugs 'make clean' fatal error on ms windows
Hi,
I am getting the similar error "NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'".
So I tried to search higher version.
But where from I can get it. I searched Microsoft site..but could not loacte it.
Any help will be appriciated.
Regards
Thanks for the directions. I could not have figured that out without you. It took me a while to find the nmake link in the MSFT notes - but it's there, just read the note - and installation worked like a breeze. I'm off to parse some HTML!
Thanks, Matt
To get the 64 bit version of nmake (for Windows 7) you can install the Windows SDK. It will install nmake to "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" on Windows 7 without prompting for an alternate directory.
Note that your comment doesn't show up immediately. I review each comment before I add it to this site.
Check the Follow this page option if you want to receive an email each time a comment is posted to this page, including yours. A link to turn this option off will be included with each email.
Internet adresses will be converted automatically. You can use the following notation to specify anchor text for a link: [url=http://example.com/]example text[/url].
Thank you very much for posting this. I've been trying to find out how to do this for years.!!!