in reply to Error getting while running the "nmake"

To compile modules that have a C (or "XS") component, you need a working C compiler that matches your Perl. If you have a matching C compiler (MSVC6 in your case I guess), you didn't set up the PATH environment variable correctly. If you don't have the C compiler installed on your system, there are various possibilities for Windows:

If you're not afraid to recompile your Perl executable and all additional modules, there also are Free MSVC tools + Activestate to compile CPAN Modules and Building Perl with the free MSVC tools.

  • Comment on Re: Error getting while running the "nmake"

Replies are listed 'Best First'.
Re^2: Error getting while running the "nmake"
by Joost (Canon) on May 10, 2006 at 17:58 UTC
    If you're not afraid to recompile your Perl executable and all additional modules, there also are Free MSVC tools + Activestate to compile CPAN Modules and Building Perl with the free MSVC tools.

    I was under the impression that you should be able to compile XS modules using the free MSVC toolkit without recompiling the whole perl distribution, since the command line tools used in the free kit are the same as the ones in the full Visual Studio version.

    I haven't tried that, though. The last time I compiled any XS modules for activestate perl on windows was years ago with the full Visual Studio kit.