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

Wise ones. I humbly seek the truth. I am getting a fatal error U1077 when I try to install the libwin32-0.16 module on a win32 system. It happens when I try to use nmake. I searched the holy books and postings and narrowed it to a C compiling issue. I downloaded the Microsoft’s fix, the nmake v 1.5. Installed, rebooted… you know the ritual. What I see is the “’cl’ is not recognized as an internal or external command”. When I attempt nmake. I have tried installing by suppressing errors, just to get though, and I got through… of course it does not work. PPM is no good, I am behind a firewall. When I dial in from home and use PPM I was told that it could not confirm many of my Perl parts when I ran verify, and could not find the module I was looking for. I only found one posing here along that topic, but its resolution did not fit my needs. Any wisdom appreciated.

Replies are listed 'Best First'.
Re: nmake fatal error
by lachoy (Parson) on Oct 13, 2001 at 01:31 UTC

    'cl' is the compiler executable on windows that was used to compile your perl (do a 'perl -V' and see for yourself). The libwin32 package must have pieces that need compiling. If you don't have Visual C++ around you're outta luck, AFAIK.

    Note that you can use PPM to install local files as well. If you download the .ppd file and archive used you can just execute 'ppm install <blah>.ppd' as long as the file the PPD references is in the right relative location.

    For instance, the PPD I created for Class::Date (at http://openinteract.sourceforge.net/) looks like this:

    <SOFTPKG NAME="Class-Date" VERSION="1,0,6,0"> <TITLE>Class-Date</TITLE> <ABSTRACT></ABSTRACT> <AUTHOR>dLux (dlux@kapu.hu)</AUTHOR> <IMPLEMENTATION> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread" /> <CODEBASE HREF="./Class-Date.tar.gz" /> </IMPLEMENTATION> </SOFTPKG>

    This means that the file Class-Date.tar.gz needs to be in the same directory as the .ppd file. Sometimes they're in a subdirectory, like:

    <CODEBASE HREF="win32-x86/Class-Date.tar.gz" />

    Just make your local directory tree mirror this and you'll be good to go.

    Chris