----- Original Message ----- From: "Michael G Schwern" <[EMAIL PROTECTED]> . . > > I think this is the real problem. Your CPAN shell is holding MM_Unix.pm open and on Windows you can't (normally) delete a file that another process is holding open. Try 6.30_04 instead. It has an updated ExtUtils::Install that handles this sort of thing. > http://search.cpan.org/~mschwern/ExtUtils-MakeMaker-6.30_04/ >
No joy there, either. (I had a bit of time to spend so played around a little.) I did everything manually to avoid any problems that CPAN.pm might throw up, but with 6.30_04 at the 'nmake install' I get: Cannot forceunlink E:\Perl638\lib\ExtUtils\MM_Unix.pm: Permission denied at E:/Perl638/lib/File/Find.pm line 519 NMAKE : fatal error U1077: 'E:\Perl638\bin\perl.exe' : return code '0xff' Stop. (Note that this is build 638, perl 5.6.1. The problems arising here do not occur on perl 5.8.8.) Taking Randy's advice of installing ExtUtils::Install, one first has to modify the Makefile.PL to specifically 'use File::Spec;' then to remove the 'NO_META => 1,' in %WriteMakefile. But then I got: E:\comp56\ExtUtils-Install-1.41>perl Makefile.PL Checking if your kit is complete... Looks good Can't locate object method "init_main" via package "PACK001" (perhaps you forgot to load "PACK001"?) at E:/Perl638/lib/ExtUtils/MakeMaker.pm line 425. "E:/Perl638/lib/ExtUtils/MakeMaker.pm" is version 5.45 (which ships as standard with As build 638). Is there a simple workaround to the above problem ? It's perl 5.6.1, after all, and I sort of lost interest in pursuing it :-) In the end, the way I installed EU::MM-6.30_04 into build 638 was to create the directory 'D:/foo' and then run: perl Makefile.PL PREFIX=D:/foo nmake test (Test 4 of build_man.t failed, but I ignored that) nmake install Then I copied the 'D:/foo/bin' and 'D:/foo/lib' to 'E:/Perl638', accepting all prompts to overwrite existing files. Now I have EU::MM-6.30_04 installed in build 638 (perl 5.6.1) of ActiveState perl: E:\>perl -MExtUtils::MakeMaker -e "print $], \" \", $ExtUtils::MakeMaker::VERSION" 5.006001 6.30_04 And that has also given me version 1.42 of EU::Install: E:\>perl -MExtUtils::Install -e "print $ExtUtils::Install::VERSION" 1.41 Cheers, Rob