delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/27/04:23:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <4221913D.10807@ieee.org>
Date: Sun, 27 Feb 2005 09:22:05 +0000
From: Jason Pearce <jason DOT pearce AT ieee DOT org>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: sp AT gtt-technologies DOT de
Subject: Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

>
>
>Stephan,
>
>I don't recall -- did you attach the output of "cygcheck -svr" at some
>point (if so, just point to it in the archives, no need to repost)?  My
>guess is that this may be a textmode vs. binmode issue.  Try making your
>home directory a binmode mount, or setting PERLIO=crlf and see if that
>helps with CPAN.
>	Igor
>

Actually I think this advice is the wrong way around. Before running 
CPAN, I think you should unset PERLIO if you otherwise have it set. I 
set PERLIO=crlf by default because my perl scripts heavily interact with 
DOS programs. If I run CPAN directly I have problems. But CPAN works 
fine once I unset PERLIO
I run it like this:

 >unset PERLIO; perl -MCAPN ....

FYI - my home directory is a binmode mount.

Regards,
Jason




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