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

Hi monks

Whenever a module is to be installed, there are series of steps given.
1. perl makefile.pl - this works fine
2. make - when i use this command, an error as follows occurs.

The command is not recognised as operatable batch ...

What is that 'make' command?
what should i do to make this work?

thanks
Lalith

Replies are listed 'Best First'.
Re: Prilimary question - make
by NetWallah (Canon) on Dec 04, 2004 at 06:03 UTC
    Sounds like you are on a Windows machine.

    You will need to use "nmake.exe" instead of "make".

    You can download nmake from Microsoft at
    http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe.

    'make' is traditionally used in compiling and linking software from a command line. (The GUI also does this behind your back).

    In case your module requires a c compiler, you can get one here:
    Win32 gcc: http://www.mingw.org/

        ...each is assigned his own private delusion but he cannot see the baggage on his own back.

      Note that which ever C compiler to use to compile modules must have been the same or very close to the same one that compiled your perl binary. For example, if you're using the Activestate distribution, you can get away with using VisualStudio C++ 6 to compile modules, but I seriously doubt that GCC will work for it. If you want to use an alternate compiler, you need to compile your perl with it first.
Re: Prilimary question - make
by Anonymous Monk on Dec 04, 2004 at 14:38 UTC