X-Spam-Check-By: sourceware.org
Date: Tue, 1 Aug 2006 10:00:49 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: DogStooge <hourback+cygwin@gmail.com>
cc: cygwin@cygwin.com
Subject: Re: install Crypt::CBC in cpan shell in Cygwin
In-Reply-To: <5587938.post@talk.nabble.com>
Message-ID: <Pine.GSO.4.63.0608010956341.5912@access1.cims.nyu.edu>
References: <5587938.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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

On Mon, 31 Jul 2006, DogStooge wrote:

> Hey, folks.
>
> This is what I get when I type "install Crypt::CBC" in the cpan shell:
>
> Crypt-CBC-2.18/Crypt::CBC-2.16-vulnerability.txt
> /usr/bin/tar: Crypt-CBC-2.18/Crypt\:\:CBC-2.16-vulnerability.txt: Cannot
> open: Invalid argument
> /usr/bin/tar: Skipping to next header
> Crypt-CBC-2.18/Changes
> Crypt-CBC-2.18/Makefile.PL
> Crypt-CBC-2.18/META.yml
> Crypt-CBC-2.18/README.compatibility
> Crypt-CBC-2.18/CBC.pm
> Crypt-CBC-2.18/MANIFEST
> /usr/bin/tar: Error exit delayed from previous errors
> Couldn't untar Crypt-CBC-2.18.tar
>
> I'm installing this module because I'm trying to install Net::SFTP.
>
> I tried renaming the file inside the tar file but the checksum failed
> when I tried to use the modified tar.
>
> Any advice?  :-)  Thanks in advance.

As Reini rather forcefully alluded to, using ':' in filenames is
non-portable.  You really should complain upstream about using that
character in their filenames.  The standard Perl convention is to replace
'::' by '_', anyway.

However, another workaround is

mount -u -o managed `cygpath -m /home/$USER/.cpan` /home/$USER/.cpan

This will set up .cpan as a managed mount, which supports all kinds of
special characters in filenames.  Don't expect Windows programs to
understand them, though.  And you might have trouble actually installing
the package (if it uses those characters in installed files).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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

