Finally the compile picked the dmake and after that final execution failed with the following. Kindly help. Generating a dmake-style Makefile Writing Makefile for Mock::Config Writing MYMETA.yml and MYMETA.json RURBAN/Mock-Config-0.03.tar.gz C:\Perl\bin\perl.exe Makefile.PL -- OK Running make for R/RU/RURBAN/Mock-Config-0.03.tar.gz Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved. Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?) Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?) Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?) Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?) Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?) Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?) to undefined at C:\perl\lib/ExtUtils/Install.pm line 1198. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2' Stop. RURBAN/Mock-Config-0.03.tar.gz "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.EXE" -- NOT OK