delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/19/11:13:49

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
Date: Thu, 19 Aug 2004 17:13:36 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Organization: Esse keine toten Tiere
Message-ID: <791319485950.20040819171336@familiehaase.de>
To: Thomas Berger <ThB AT gymel DOT com>
CC: ThB DOT com AT t-online DOT de, Stephan Petersen <sp AT gtt-technologies DOT de>,
cygwin AT cygwin DOT com
Subject: Re: perl: cpan module's interactive mode fails
In-Reply-To: <4124A107.2070403@gymel.com>
References: <41235C84 DOT 7060300 AT gtt-technologies DOT de> <4123B56F DOT 6010003 AT gymel DOT com> <41245BEE DOT 4090900 AT gtt-technologies DOT de> <921297065040 DOT 20040819105955 AT familiehaase DOT de> <41247824 DOT 2070901 AT gymel DOT com> <412481BC DOT 3010000 AT gymel DOT com> <4124A107 DOT 2070403 AT gymel DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Thomas schrieb:

> Gerrit: Compress::Zlib is *not* included in perl-5.8.5,
> maybe that triggered the problem

I see, thanks for the (packaging) bug report.  Will fix it ASAP.

> As to the binmode issue (as in Stephan's situation I'm
> running a completely text mode installation):

> I introduced an additional mount parallel to my
> ususal /home:

> mkdir /binhome
> mount -b "C:/cygwin/home/" /binhome

> and reconfigured CPAN.PM (rather edit
> /usr/lib/perl5/5.8.5/CPAN/Config.pm  than struggle with the
> various "o conf" settings in CPAN's shell).

> Now the first attempt still fails because of the my "nobinmode" setting
> in $CYGWIN (cpan.pm executes
> gzip --decompress --stdout < ...tar.gz | tar xfv - > ...
> and the pipe is affected by "nobinmode". However the second attempt
> succeeds since either Compress::Zlib is used or gunzipping
> gzip -dc ....tar.gz > ....tar
> is now executed on a binary mounted FS.

Sigh.  If I were the god of Cygwin, I would have not created textmode
mounts at all.  I cannot see the point why it is neccessary to use it.
The only real reason why textmode is needed is that notepad cannot
handle binmode (unix) textfiles.

[...]

> The fix would be to add a short sentence to the release notes
> that .cpan *must* reside in a binmode mounted filesystem

Ok, I'll ad a sentence similar to what you wrote here.


Gerrit
-- 
=^..^=


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