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

I am attempting to install Template Toolkit on win32. ActiveState doesn't have ppm support for this module, so I am trying to use CPAN. I see the following:
... Running the make test The name specified is not recognized as an internal or external command, operable program or batch file. test -- NOT OK ...
I saw on the FAQ that I should be using "nmake" instead of "make". I've downloaded "nmake". What do I do to make the install process use nmake instead of make? Or am I missing other pieces as well?

Replies are listed 'Best First'.
Re: Installing Template Toolkit on win32
by Masem (Monsignor) on Apr 23, 2001 at 03:50 UTC
    You need to point CPAN to nmake, which you can do by going into CPAN interactive mode, and issuing the command
    o conf make path/to/nmake
    Note that you make have to download more if command like 'mv' or 'cp' are used in the install script. If you need unix-like tools for Win32, you might want to download Cygwin tools to make this work.


    Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
      Thank you Masem. I have a simple example working.

      Anyone trying to get CPAN to work on win32 may need to fetch ftp://ftp.microsoft.com/Softlib/MSLFILES/nmake15.exe. Note this is an installer, not the the make replacement. Need to set the config option as Masem describes above.

      Question: I had to do a force install because of errors I got due to the absence of getpwuid which isn't implemented on win32. What is this going to do to me?