Re: Problem using cpan install of any module

[email protected] (kmx)
Newsgroups perl.win32.vanilla
Message-ID <[email protected]>
Dne 26.1.2010 18:19, [email protected] napsal(a):
> ...
> Can someone point in the right direction to figure this out? I do have administrator rights on this WinXP Professional.
> ...
>   

Try to disable your anti-virus SW and run  "cpan install IO::All" again.
I have experienced exactly the same issue on a computer with Microsoft
Security Essentials.

My theory is:
- cpan clients unpacks a bunch of data
- immediately after that cpan clients tries to move the whole upacked
dir somewhere else
- however AV has kind of  a lock on the original directory as it did not
finish the scanning of new files before "move dir" was called
- from the outside it simply seems like "move failed"
 
You can even try to run the same command multiple times and you will see
that the reported error is not 100% deterministic.

--
kmx
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.