Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: 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> 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" 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 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/