in reply to Re^3: Build error in XML::DOM::Node
in thread Build error in XML::DOM::Node

These are the steps i am following. 1)I downloaded the module from CPAN and extracted it to a directory. 2)Ran the Makefile.pl 3)On issuing the command nmake test or nmake install i get the below, i actually get this error irrespective of the module i am trying to build. "to undefined at C:/strawberry/perl/lib/ExtUtils/Install.pm line 1208 NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop." I am building on an other machine which currently i am not able to access , once i get access i will share those errors as well. Any help on why i am getting the above error.?

Replies are listed 'Best First'.
Re^5: Build error in XML::DOM::Node
by marto (Cardinal) on Apr 18, 2012 at 09:51 UTC

    Strawberry Perl ships with MinGW and dmake, rather than nmake. I suggest you use cpan to install modules so that prerequsites are installed should they be required. From the command prompt:

    cpan Module::Name

    Module names are case sensitive.