This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: install Crypt::CBC in cpan shell in Cygwin

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/
> 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).
      |\      _,,,---,,_ |
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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]