Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Error getting while running the "nmake"

by premak (Novice)
on May 09, 2006 at 10:59 UTC ( [id://548170]=perlquestion: print w/replies, xml ) Need Help??

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

Hi,
I was trying to install Compress::Zlib. After creating the makefile, while doing nmake, it is throwing the following error

C:\.cpan\build\Compress-Zlib-1.41>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. Skip blib\lib\Compress\Zlib.pm (unchanged) cl -c -I./zlib-src -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWI +N32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE - +DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPL +ICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 - +DVERSION=\"1.41\" -DXS_VERSION=\"1.41\" "-IC:\Perl\lib\CORE" Zlib +.c 'cl' is not recognized as an internal or external command, operabl +e program or batch file. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x1'Stop.

Could anbody help me....
Thanks

Edit: g0n - formatting & code tags

Replies are listed 'Best First'.
Re: Error getting while running the "nmake"
by Corion (Patriarch) on May 09, 2006 at 11:06 UTC
      If you're not afraid to recompile your Perl executable and all additional modules, there also are Free MSVC tools + Activestate to compile CPAN Modules and Building Perl with the free MSVC tools.

      I was under the impression that you should be able to compile XS modules using the free MSVC toolkit without recompiling the whole perl distribution, since the command line tools used in the free kit are the same as the ones in the full Visual Studio version.

      I haven't tried that, though. The last time I compiled any XS modules for activestate perl on windows was years ago with the full Visual Studio kit.

Re: Error getting while running the "nmake"
by Joost (Canon) on May 09, 2006 at 11:06 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found