This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: install Crypt::CBC in cpan shell in Cygwin
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: DogStooge <hourback+cygwin at gmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 1 Aug 2006 10:00:49 -0400 (EDT)
- Subject: Re: install Crypt::CBC in cpan shell in Cygwin
- References: <5587938.post@talk.nabble.com>
- Reply-to: 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@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/