I'm trying to run cpan App::cpanminus in 32-bit Strawberry Perl 5.18.2.2 and/or 5.20.2.1 and both instances fail with same error:
Here are last few lines of log:
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for App::cpanminus
Writing MYMETA.yml and MYMETA.json
MIYAGAWA/App-cpanminus-1.7030.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for M/MI/MIYAGAWA/App-cpanminus-1.7030.tar.gz
C:Strawberryperlbinperl.exe: not found
dmake.exe: Error code 255, while making 'blib\lib\App\.exists'
MIYAGAWA/App-cpanminus-1.7030.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Stopping: 'install' failed for 'App::cpanminus'.
Environment is XP SP3 running in Parallels vm 9.0.24251 on OS X 10.8.5. It's a long story why I run XP this way. Suffice it to say, I MUST. Strawberry Perl runs superbly, as good or better than native Perl 5.12.4 in OS X but the fact that I can't get cpan App::cpanminus to work makes me very, very uncomfortable. To paraphrase OJ: "if the gloves don't fit you can't convict" ... "if the script fails to build, you can't trust the sucker."
Notice how that error message squeezes out the slashes between dir nodes. I've coded $PATH with '/' and '\' and the error is the same.
I upgraded to 5.20 from 5.18 to see if that would fix problem. It didn't... so the problem almost certainly is in my environment... or it's pilot error :-(
Any ideas will be greatly appreciated and thank you for reading.