Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Tue, 1 Mar 2005 05:13:49 -0800
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
To: cygwin@cygwin.com
Subject: Re: (RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell; " fails with "02packages.details.txt.gz does not contain a Line-Count header"
Message-ID: <20050301131349.GA1216@efn.org>
References: <0MKpV6-1D4XMu3JLa-0001jh@mxeu1.kundenserver.de> <421F1B6A.10707@gtt-technologies.de> <422219B7.9030800@familiehaase.de> <42230C6D.2050702@gtt-technologies.de> <58969.84.246.168.11.1109595947.squirrel@mail.morrison.mine.nu> <42239270.60205@familiehaase.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <42239270.60205@familiehaase.de>
User-Agent: Mutt/1.4.1i
Organization: bs"d
X-IsSubscribed: yes

On Mon, Feb 28, 2005 at 10:51:44PM +0100, Gerrit P. Haase wrote:
> John Morrison wrote:
> 
> >On Mon, February 28, 2005 12:19 pm, Stephan Petersen said:
> >
> >>Hi Gerrit,
> >>
> >>thanks for your and all the others' replies.
> >>
> >>
> >>>- The CPAN repository and build directory *must* reside in a path
> >>> mounted in binmode:
> >>>
> >>>   mount -s -b -f c:/cygwin/home/username/.cpan /home/username/.cpan
> >>>   mount -u -b -f c:/cygwin/home/username/.cpan /home/username/.cpan
> >>
> >
> >Could something along these lines be done in the postinstall for perl? 
> >(Only if the mount doesn't exist of cause...)
> 
> The user may want to use a different directory as repository and build
> directory.  It should be done during the initial configuration, however
> I'm not sure if is worth the time to implement it.  Since there are two
> or three rreports about this issue in a year shows that Joe User is
> actually reading the README *or* is not using textmode mounts.

If they want a different directory, it still doesn't hurt to force ~/.cpan
to binmode (except in so far as it uses up the AIUI limited number of
mounts).  I'd advocate putting it in a postinstall script.

> Anyway: PTA,
> Gerrit

/me looks around, certain that that *can't* have been addressed to me :)

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

