www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Unable to use cpan |
Date: | Thu, 20 Aug 2009 00:16:36 -0700 |
Lines: | 51 |
Message-ID: | <h6it8k$b9n$1@ger.gmane.org> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.22 (X11/20090608) |
X-Stationery: | 0.4.9 |
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 |
More and more of my clients nowadays restrict where you can go to "get=20 things from the net". I have managed to convince management to allow=20 blanket permission to install CPAN modules for our code development. I=20 wish to install them en mass=C3=A8 using a "bundle" with the cpan(1) script= .=20 However it doesn't seem to work right. I'm not sure if this is a Cygwin=20 issue or a CPAN issue. If the later then pointers would be appreciated. In it's simplest form I cannot install even a single CPAN module due to=20 this error. Note that cpan(1) tries various methods to retrieve the=20 external CPAN module, including LWP, Net::Ftp, etc. I have ncftp and=20 have managed to configure it to properly use the proxy in order to=20 obtain stuff from the net. For example, I can ncftp to my server at home=20 from my client's machines by utilizing the proxy settings. While cpan(1) fails to get the material with LWP, Net::Ftp, etc. It does=20 seem to succeed when using ncftp but then fails with an odd error about=20 trying to rename the file it downloaded and failing to: $ cpan Algorithm::Diff CPAN: File::HomeDir loaded ok (v0.80) CPAN: Storable loaded ok (v2.18) ... Trying with "/bin/ncftpget" to get ftp://mirrors1.kernel.org/pub/CPAN/modules/03modlist.data.gz 03modlist.data.gz: 161.78 kB 796.93=20 kB/s=20 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=20 directory $ Yet I see: $ ls /home/p6258c/.cpan/sources/modules/03modlist.data.tmp3996* /home/p6258c/.cpan/sources/modules/03modlist.data.tmp3996 /home/p6258c/.cpan/sources/modules/03modlist.data.tmp3996.gz IOW I see the "tmp3996" and then the ".gz" yet the cpan command tried to=20 rename a file with ".gz" and then ".tmp3996". Help!?! --=20 Andrew DeFaria <http://defaria.com> The best argument against democracy is a five-minute conversation with=20 the average voter. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |