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