Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Problem installing certain PERL modules
October 15, 2004, 8:47 am
rate this thread
a problem installing two modules DB_File-1.810 and Time-HiRes-1.65.
Other files that I've downloaded install fine (e.g. Net-DNS and
IP-Country)but when I type NMAKE (after PERL MAKEFILE.PL) I get the
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -01 -DWIN32 -D_CONSOLE
-DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -01 -DVERSION=\"1.65\"
-DXS_VERSION=\"1.65\" "-IC_Perl\lib\CORE" -DSELECT_IS_BROKEN
'cl' is not recognised as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:WINDOWS\system32\cmd\exe' : return code
Note. I am running MSWin XP and have Visual Studio on the drive I'm
To me it looks like I need 'cl'. if so does anyone know where I can
download it from and where I should install it on my machine?
Re: Problem installing certain PERL modules
> 'cl' is not recognised as an internal or external command,
> operable program or batch file.
> NMAKE : fatal error U1077: 'C:WINDOWS\system32\cmd\exe' : return code
> Note. I am running MSWin XP and have Visual Studio on the drive I'm
> To me it looks like I need 'cl'. if so does anyone know where I can
> download it from and where I should install it on my machine?
Have you looked to see if it is already on your drive? I'm not overly
familiar with M$ Visual Studio but ISTR it includes the VC++ product
which in turn includes cl.exe. There should be a file 'vcvars32.bat' or
some-such that sets the environment varialbes needed by the M$ command
line build tools. Maybe there's a option you need to select duting
It is possible to get (free) all the components you need to construct a
M$ command line build environment but M$ deliberately make it
difficult to do so that people will get frustrated and just buy Visual
For those withou M$VS here's what to do...
Download and install
Microsoft Visual C++ Toolkit 2003
CORE Windows SDK
MDAC Windows SDK
.NET Framework Windows SDK
Missing utilities: cvtres.exe, lib.exe and nmake.exe. It turns out that
you can use the versions provided with the Platform SDK Win64 tools. I
suggest copying these utilities from %MSSDK%\bin\win64\ to your VC++
toolkit binaries directory. Also need msvcr70.dll.
Copy libraries from the "\Microsoft SDK\Lib"/
Missing msvcrt.lib - this is the link library for the C runtime.
Instead you can install the .NET Framework SDK (free download) and get a
copy of msvcrt.lib from this . (It ends up in "Microsoft Visual
Studio .NET 2003\Vc7\lib")