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

I have downloaded Perl module Net::NetSend from CPAN, and ran into a problem trying to execute the makefile process. From a command prompt, I was in the directory in which both the module and a test script were filed. I entered "makefile.pl" and it seemed to work (at least I didn't get an error message; I got this: Writing Makefile for Net::NetSend). Then I entered "make", and got the following error message: 'make' is not recognized as an internal or external command, operable program or batch file. Can anyone hazard a guess as to what I'm doing wrong? BTW, I have downloaded other modules from CPAN (ex., Time::Format), and haven't had to execute the makefile process so I could run a playtime-type script testing the functionality. What's up with that?

Replies are listed 'Best First'.
Re: makefile problem for NetSend module
by samtregar (Abbot) on May 15, 2006 at 21:21 UTC
    Sounds like you don't have "make" installed on your system. Are you running Windows?

    -sam

      Yep, Windows 2000. I downloaded Perl from ActiveState; I don't know if that makes a difference or not.
        You can get a copy of nmake, Microsoft's make tool, here:

        http://download.microsoft.com/download/vc15/patch/1.52/w95/en-us/nmake15.exe

        Alternately you could try installing the module using the ppm program which comes with ActiveState Perl. If the ppm repository has the module it should install with no additional work required.

        If I was in your shoes I'd ditch ActiveState and try out CamelPack. It sounds really neat to me.

        -sam

Re: makefile problem for NetSend module
by Anonymous Monk on May 16, 2006 at 01:38 UTC