delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/20/11:39:53

X-Recipient: archive-cygwin AT delorie DOT 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 AT holgerdanske DOT com>
To: <cygwin AT cygwin DOT com>
Cc: "'Andrew DeFaria'" <Andrew AT DeFaria DOT com>
References: <h6it8k$b9n$1 AT ger DOT gmane DOT 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
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019