On Sun, 18 Jun 2006 22:12:16 -0500, Ken Williams wrote:

Hi Ken

> I used to live in Sydney while I was doing my master's degree at
> Sydney Uni, but now I'm back in Minneapolis.

Ok. Thanx.

> Hm, but not one I understand.  The only case I know of when
> ExtUtils::Install won't uninstall a previous version that it finds
> in @INC is when the file contents are identical with what it just
> installed.  An AFS thing apparently.

In this case they were different versions. I inspected the *.pm before deciding
to install a later version.

> Unless any module is actually aware of where it's installed
> (something I've never come across), you should be able to just move
> all the modules from lib/ to lib/perl5/ .  That's probably how I'd
> deal with it.  None of the internal pathing should have changed.

Hmmm. OK. And then change *.pl & *.cgi to use a new 'use lib' path.

> If this is on Windows, I wonder if maybe it's a problem of the
> files being currently open, and thus unremovable?

AFAIK the only files affected by this are *.DLL, and in that case I always get
an error message as per:

[Digress to try Scalar::List::Utils, which I /know/ is a PITA.]

WARNING: Unable to unlink 'D:\Perl\lib\auto\List\Util\Util.dll': Permission
denied

But wait! For the first time ever I now get:

WARNING: Unable to unlink 'D:\Perl\lib\auto\List\Util\Util.dll': Permission
denied
Going to try to rename it to 'D:\Perl\lib\auto\List\Util\Util.dll.AAA'.
Rename succesful. Scheduling 'D:\Perl\lib\auto\List\Util\Util.dll.AAA'
for deletion at reboot.

Nice.

> Do you use --prefix to do that installation, or is that the default
> location?  AFAIK the default location shouldn't have changed, nor
> the --prefix location, so I'm not sure what's going on there.

Nope. I use (having checked for the presence of Build.PL):
o perl Build.PL
o perl Build
o perl Build test
o perl Build install uninst=1

--
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html


Reply via email to