Looks like in my case Config::AutoConf is somehow not invoked under cpan JKEGL/Marpa-R2-2.025_000.tar.gz, unlike in perl Makefile.PL; nmake.
Where perl Makefile.PL; nmake does
Using Config::AutoConf
Building Marpa-R2
Writing version files
Generating script 'lib\Marpa\R2.ccs'
cl -nologo -c @"lib\Marpa\R2.ccs" -Fo"lib\Marpa\R2.obj" "lib\Marpa\R2.c"
R2.c
ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\Marpa\R2\R2.bs')
Generating script 'lib\Marpa\R2.lds'
link @"lib\Marpa\R2.lds" -out:"blib\arch\auto\Marpa\R2\R2.dll"
Creating library lib\Marpa\R2.lib and object lib\Marpa\R2.exp
if exist -manifest "lib\Marpa\R2.dll.manifest" mt -nologo -manifest "lib\Marpa\R
2.dll.manifest" -outputresource:"blib\arch\auto\Marpa\R2\R2.dll";2
cpan JKEGL/Marpa-R2-2.025_000.tar.gz does
C:\perl-5.14.2\bin\perl.exe -MExtUtils::Command -e "rm_rf" -- blib\arch\
auto\libmarpa\libmarpa.lib
lib -out:blib\arch\auto\libmarpa\libmarpa.lib marpa.obj marpa_obs.obj avl.obj
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
C:\perl-5.14.2\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 blib\arch\auto\libmarpa\libmarpa.lib
Generating script 'lib\Marpa\R2.ccs'
cl -nologo -c @"lib\Marpa\R2.ccs" -Fo"lib\Marpa\R2.obj" "lib\Marpa\R2.c"
cl : Command line warning D4024 : unrecognized source file type 'and', object file assumed
cl : Command line warning D4027 : source file 'and' ignored
cl : Command line warning D4024 : unrecognized source file type 'Settings\Ruslan\.cpan\build\Marpa-R2-2.025_000-lqhFb3\libmarpa_build', object file assumed
cl : Command line warning D4027 : source file 'Settings\Ruslan\.cpan\build\Marpa-R2-2.025_000-lqhFb3\libmarpa_build' ignored
R2.c
lib\Marpa\R2.xs(24) : fatal error C1083: Cannot open include file: 'marpa.h': No such file or directory error building dll file from 'lib\Marpa\R2.c' at c:/perl-5.14.2/lib/ExtUtils/CBuilder/Platform/Windows.pm line 130.
and no
lib\Marpa\R2.ccs file is in fact created, even when
perl Makefile.PL; nmake is issued in, e.g., .cpan/build/ . that results in
c:\perl-5.14.2\bin\perl.exe Build --makefile_env_macros 1
Using Config::AutoConf
Building Marpa-R2
Writing version files
Generating script 'lib\Marpa\R2.ccs'
cl -nologo -c @"lib\Marpa\R2.ccs" -Fo"lib\Marpa\R2.obj" "lib\Marpa\R2.c"
cl : Command line warning D4024 : unrecognized source file type 'and', object file assumed
cl : Command line warning D4027 : source file 'and' ignored
cl : Command line warning D4024 : unrecognized source file type 'Settings\Ruslan\.cpan\build\Marpa-R2-2.025_001-Jk8mht\libmarpa_build', object file assumed
cl : Command line warning D4027 : source file 'Settings\Ruslan\.cpan\build\Marpa-R2-2.025_0
01-Jk8mht\libmarpa_build' ignored
R2.c
lib\Marpa\R2.xs(24) : fatal error C1083: Cannot open include file: 'marpa.h': No such file or directory
error building dll file from 'lib\Marpa\R2.c' at c:/perl-5.14.2/lib/ExtUtils/CBuilder/Platform/Windows.pm line 130.
NMAKE : fatal error U1077: 'c:\perl-5.14.2\bin\perl.exe' : return code '0x19'
Stop.
and, again, no lib\Marpa\R2.ccs file created.
Looks like ExtUtils is invoked where Config::AutoConf should be.