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: Thu, 19 Aug 2004 17:13:36 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
Reply-To: "Gerrit P. Haase" <gerrit@familiehaase.de>
Organization: Esse keine toten Tiere
Message-ID: <791319485950.20040819171336@familiehaase.de>
To: Thomas Berger <ThB@gymel.com>
CC: ThB.com@t-online.de, Stephan Petersen <sp@gtt-technologies.de>,
   cygwin@cygwin.com
Subject: Re: perl: cpan module's interactive mode fails
In-Reply-To: <4124A107.2070403@gymel.com>
References: <41235C84.7060300@gtt-technologies.de> <4123B56F.6010003@gymel.com> <41245BEE.4090900@gtt-technologies.de> <921297065040.20040819105955@familiehaase.de> <41247824.2070901@gymel.com> <412481BC.3010000@gymel.com> <4124A107.2070403@gymel.com>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
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/

