in reply to updating Bundle::CPAN issues

The same sort of problem arises with ActivePerl, I think because the dll is in use at the time. What works there is to manually delete (or move out of the way) /usr/lib/perl5/5.8/cygwin/auto/Cwd/Cwd.dll and do a make install again.

Replies are listed 'Best First'.
Re^2: updating Bundle::CPAN issues
by sgt (Deacon) on Jul 06, 2007 at 20:09 UTC

    yes. I am currently building a solution to generate periodically a cygperl distrib with **a lot** of extra modules and I came across this problem which breaks badly (sadly) the CPAN toolchain.

  • it seems windows is using some kind of cache and even if the perl executable does an unload-reload of a given dll (using I guess the one in the local install dir), windows gives an error or maybe the unload mechanism does not work on cygwin...(or windows)
  • one fix is check blib for *dll and move the dll to .RM and generate a (rm) script to run at exit
  • a better one would be to fix EU::MM for cygwin, or replace the equivalent to the "install" cmd with a smarter equivalent
  • cheers --stephan