X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 	tests=AWL,BAYES_20
X-Spam-Check-By: sourceware.org
From: "David Christensen" <dpchrist@holgerdanske.com>
To: <cygwin@cygwin.com>
Cc: "'Andrew DeFaria'" <Andrew@DeFaria.com>
References: <h6it8k$b9n$1@ger.gmane.org>
In-Reply-To: <h6it8k$b9n$1@ger.gmane.org>
Subject: RE: Unable to use cpan
Date: Thu, 20 Aug 2009 08:39:41 -0700
Message-ID: <00c101ca21ac$76c194d0$6444be70$@com>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Andrew DeFaria wrote:
> $ cpan Algorithm::Diff
...
> Error while trying to rename=20
> '/home/p6258c/.cpan/sources/modules/03modlist.data.gz.tmp3996' to=20
> '/home/p6258c/.cpan/sources/modules/03modlist.data.gz': No such file or d=
irectory

My guess is that it is a file system ownership/ permission issue.  Vista is=
 more picky than XP.  Take a look at all the folders down to /home/p6258c/.=
cpan/sources/modules/ with Windows Explorer -> Properties -> Security and B=
ash 'ls -l'.  If something looks strange, you might be able to fix it with =
Windows Explorer, 'chmod', and/or 'chown'.


I try to make sure that I only install and administer Cygwin and Cygwin sof=
tware while logged in as Administrator.  For Perl modules, I find that Cygw=
in packages (if available) work better than CPAN.


When one of my Cygwin installs starts acting up, I move C:\cygwin aside and=
 start over -- either with a fresh download, or with an archived copy of C:=
\cygwin\setup.


HTH,

David



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

