This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: (RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell; " fails with "02packages.details.txt.gz does not contain a Line-Count header"
- From: Yitzchak Scott-Thoennes <sthoenna at efn dot org>
- To: cygwin at cygwin dot com
- Date: Tue, 1 Mar 2005 05:13:49 -0800
- 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"
- Organization: bs"d
- 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>
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/