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

I am attempting to install the module Crypt::DES from CPAN (along with several other modules) onto a computer running Windows 2000 with Active Perl 5.8.1. I have downloaded the nmake.exe program from Microsoft and have used it successfully to install modules before. However, when I go to install this module, I'm running into an error at the second step. Note, this error crops up with several other modules that I am trying to install. I'm trying to figure out if there is something I can modify someplace in order to get these modules installed properly. Here is the message that I am getting:

C:\Perl\test\sftp\Crypt-DES-2.03>perl Makefile.pl Writing Makefile for Crypt::DES C:\Perl\test\sftp\Crypt-DES-2.03>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLI +CIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG - O1 -DVERSION=\"2.03\" -DXS_VERSION=\"2.03\" "-IC:\Perl\lib\CORE" + DES.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code ' +0x1' Stop. C:\Perl\test\sftp\Crypt-DES-2.03>
Any suggestions on where to look, or alternatives to running nmake would be appreciated. I have tried putting the directories with Des.pm into site\lib, but that did not seem to work.

Thanks in advance.


"Ex libris un peut de tout"

Replies are listed 'Best First'.
Re: Module Install Problem
by Anonymous Monk on Nov 12, 2003 at 18:54 UTC
    Activestate comes with ppm3 to install modules. Use it and your life will be a lot easier
Re: Module Install Problem
by ptkdb (Monk) on Nov 12, 2003 at 19:07 UTC
    'cl' is not recognized as an internal or external command,

    FYI: 'cl' is the C/C++ compiler that comes with VisualStudio and was probalby used to build this installation of perl. If you intend to build modules that are not found through PPM, you may find yourself needing it.

      I was afraid that I might have to use Visual Studio or something, which alas is not an option at all. I can only do so much with work computers :-)


      "Ex libris un peut de tout"
        If you need to compile modules then you will either need Visual C/C++ -OR- cygwin. cywin is open-source and gives you pretty much a *nix machine on your Windows box. This way you can build a Perl which is closer to a *nix Perl and comes with the gcc compiler so that you don't have to shell out for Visual Studio.

        I use cygwin on a client's machine because he has an app he wants to run on his intranet which requires a bundle of odd-ball modules and this is the easiest way to do it.

        jdtoronto

Re: Module Install Problem
by jdtoronto (Prior) on Nov 12, 2003 at 18:57 UTC
    ppm or ppm3 would be fine, if it wasn't for the fact that the Crypt modules are no longer available through the ActiveState repository.

    If you can't find it in another repository then try Crazy Insomniac - he has a respository and will also take requests if you cannot find modules you need ppm packages for.

    jdtoronto

      I located Crypt::DES and Crypt::DES_EDE3 which I need for a few things, the only ones I was not able to track down were Math::GMP and MATH::PARI. It looks like I'm getting the Crypt::DES installed. I'm looking at doing some stuff with Net::SSH::Perl and Net::SFTP.


      "Ex libris un peut de tout"