----- Original Message ----- From: "Clifford Sobchuk"

If any one knows of something I can do, or have missed, please let me know.

Firstly check that 'prerequisites_policy' in perl/lib/CPAN/Config.pm is set to 'follow'.

Then run:

cpan -i Devel::REPL

That has just worked for me on ActivePerl-5.14.0 (build 1400), with the following caveats:

############################
a) I already have (a mingw.org port of) the gcc compiler, and 'dmake' (from the cpan repo) - and both are in my path. (ActivePerl is therefore automatically configured to use these - but check by running 'perl -V:cc' and 'perl -V:make'. The former should report gcc.exe, and the latter dmake.exe.)
############################
############################
b) After about an hour of wading through the quagmire of installations that 'cpan -i Devel::REPL' instigates I get the following termination:
 DOY/Devel-REPL-1.003012.tar.gz
Tests succeeded but one dependency not OK (Sys::SigAction)
 DOY/Devel-REPL-1.003012.tar.gz
 [dependencies] -- NA
Running make install
 make test had returned bad status, won't install without force

So, I go into the Sys::SigAction build directory, open the Makefile.PL and remove all of the checks at the start of that file - then run 'perl Makefile.PL' followed by 'dmake install':

C:\.cpan\build\Sys-SigAction-0.15-wPvcCy>perl makefile.PL
Set up gcc environment - 3.4.5 (mingw special)
MakeMaker version = 6.57_05
Checking if your kit is complete...
Looks good
Writing Makefile for Sys::SigAction
Writing MYMETA.yml

C:\.cpan\build\Sys-SigAction-0.15-wPvcCy>dmake install
cp lib/Sys/SigAction.pm blib\lib\Sys\SigAction.pm
Installing C:\_32\ap1400\html\site\lib\Sys\SigAction.html
Installing C:\_32\ap1400\site\lib\Sys\SigAction.pm
Appending installation info to C:\_32\ap1400\lib/perllocal.pod

Dependency satisfied !! (But you need to remove those checks from the Makefile.PL or you won't get a Makefile written.)

Now re-run 'cpan -i Devel::REPL' - and 1 minute later it's all done:

C:\>perl -MDevel::REPL -e "print $Devel::REPL::VERSION"
1.003012
C:\>

Oh - and there was one prompt that I had to acknowledge somewhere along the way. (I just accepted the [no] default value ... not sure why that didn't happen automatically ....)
############################

And therein lies the wondrous utility of CPAN - "Why write a few new lines of code when you can install 25 modules that will already do the job for you ?"

IMO, the best way to get things fixed so that Devel::REPL installs trivially would be to get things fixed so that 'cpan -i Devel::REPL' just works. All that's preventing that is the problem with Sys::SigAction. I think the simplest solution (which I haven't tested) would be to remove that module as a Devel::REPL dependency for $^O=~/MSWin32/ I think that the Sys::SigAction dependency is the only thing that's preventing AS from providing a ppm package for the latest Devel-REPL. It was certainly the only error I encountered in the whole build.

Cheers,
Rob





_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to