Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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:

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\ (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....

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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-21 20:33 GMT
Find Nodes?
    Voting Booth?

    No recent polls found