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.203.13.176.1.1166667961.squirrel@travel.infinitylimited.net>     <loom.20061225T065747-208@post.gmane.org>
Date: Sun, 21 Jan 2007 23:45:13 -0700 (MST)
Subject: Re: cygwin 1.5.22 - cpan core dumping on initial
From: jake@infinitylimited.net
To: cygwin@cygwin.com
User-Agent: SquirrelMail/1.4.6
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

> 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/

