Sisyphus wrote:
----- 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
Wow, this is a mess! Any idea why this is happening and who if anyone should
sort it out? I assume it's AS since 5.8.8 works but not 5.6.1.
I'm in the process of trying to get Bioperl and all it's dependencies installed
on clean installs of various AS Perl installations in order to run the suite of
tests. In addition, I'd also like to make ppd's of all the Bioperl dependencies
so that users can install Bioperl via PPM. However, this is proving less
straight forward than I had hoped!
I started with AS Perl 5.6.1 since PPM4 in AS Perl 5.8.8 seems to be in a bit
of a mess from my little experience of using it the other day - it was
reporting that it would downgrade a module that wasn't installed and from a
version number that didn't exist! There is also talk about having Perl 5.6.1 as
minimum for future versions of Bioperl, but it seems to have taken me off at a
tangent :o(
Thanks for you input!
Nathan