delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/01/10:13:30

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: <23434.84.246.168.11.1109689878.squirrel@mail.morrison.mine.nu>
In-Reply-To: <Pine.GSO.4.61.0503010939200.10998@slinky.cs.nyu.edu>
References: <0MKpV6-1D4XMu3JLa-0001jh AT mxeu1 DOT kundenserver DOT de> <421F1B6A DOT 10707 AT gtt-technologies DOT de> <422219B7 DOT 9030800 AT familiehaase DOT de> <42230C6D DOT 2050702 AT gtt-technologies DOT de> <58969 DOT 84 DOT 246 DOT 168 DOT 11 DOT 1109595947 DOT squirrel AT mail DOT morrison DOT mine DOT nu> <42239270 DOT 60205 AT familiehaase DOT de> <20050301131349 DOT GA1216 AT efn DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0503010939200 DOT 10998 AT slinky DOT cs DOT nyu DOT edu>
Date: Tue, 1 Mar 2005 15:11:18 -0000 (GMT)
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"
From: "John Morrison" <john AT morrison DOT mine DOT nu>
To: cygwin AT cygwin DOT com
Reply-To: john AT morrison DOT mine DOT nu
User-Agent: SquirrelMail/1.4.4
MIME-Version: 1.0

On Tue, March 1, 2005 2:47 pm, Igor Pechtchanski said:
> On Tue, 1 Mar 2005, Yitzchak Scott-Thoennes wrote:
>
>> 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.
>
> Yes, it does sometimes.  There used a problem doing "rm" when a mount
> directory doesn't exist -- the root directory was erased.  I don't have a
> spare system available to experiment with it now.
> I had this problem when I did "rm -rf ~/something", where "~/something"
> was mounted explicitly, but didn't exist.  At a guess, if the mount point
> doesn't exist, the directory resolves to "/", and that's what is being
> erased.

I was thinking more like the perl installer add a .cpan to the skel folder
and a 'post user create' file (to be determined how it gets run ;) which
does the mount then removes itself.

Thing is, it wouldn't help with users which already exist *before* they
install perl.  A different solution would be necessary for them.  Possibly
a profile.d script?

Anyway, just thoughts :)

J.


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