delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/22/01:45:42

X-Spam-Check-By: sourceware.org
Message-ID: <19307.203.13.176.1.1169448313.squirrel@travel.infinitylimited.net>
In-Reply-To: <loom.20061225T065747-208@post.gmane.org>
References: <55603 DOT 203 DOT 13 DOT 176 DOT 1 DOT 1166667961 DOT squirrel AT travel DOT infinitylimited DOT net> <loom DOT 20061225T065747-208 AT post DOT gmane DOT org>
Date: Sun, 21 Jan 2007 23:45:13 -0700 (MST)
Subject: Re: cygwin 1.5.22 - cpan core dumping on initial
From: jake AT infinitylimited DOT net
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.6
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-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

> jake writes:
>> $ cpan
>> There seems to be running another CPAN process (pid 2064).  Contacting...
>> Other job not responding. Shall I overwrite the lockfile? (Y/N) [y]
> ...
>> Fetching with Net::FTP:
>>   ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
>> Segmentation fault (core dumped)
>
> I have occasionally seen a corrupt local cpan database cause this kind of
> error,
> and it looks like you had a cpan process not shut down cleanly earlier.  Try
> blowing away .cpan/Metadata, or even everything under .cpan.  Also, avoid
> sharing
> your .cpan directory among multiple versions of perl (e.g. ActiveState and
> cygwin, or local builds of perl and the stock cygwin perl.)

The problem seemed to have been a combination of:
 - spaces in pathnames in /usr/lib/perl5/5.8/CPAN/Config.pm
 - not having the cygwin ftp, ncftp and ncftpget installed
 - the windows ftp program not working under cygwin
 - wget's failure to work with ssh-tunneled proxys

My solution was to re-install perl, inetutils, then hand-edit Config.pm above
to use /usr/bin/ftp etc.

This is just for the record.


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

- Raw text -


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