This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin 1.5.22 - cpan core dumping on initial
- From: jake at infinitylimited dot net
- To: cygwin at cygwin dot com
- Date: Sun, 21 Jan 2007 23:45:13 -0700 (MST)
- Subject: Re: cygwin 1.5.22 - cpan core dumping on initial
- References: <55603.203.13.176.1.1166667961.squirrel@travel.infinitylimited.net> <loom.20061225T065747-208@post.gmane.org>
> 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/