This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin 1.5.22 - cpan core dumping on initial


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]