Using perlbrew on Cygwin - a problem with gnu tar unwrapping perl archive files #832
somian
started this conversation in
Show and tell
Replies: 1 comment
-
The bug isn't tar or perlbrew's, it's whatever is causing perlbrew to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having some trouble setting up and using perlbrew on cygwin, and I don't think I am going to be the only one. Unfortunately I don't understand how to use Github and I don't have time to learn it right now. I'll describe the problem and I can offer a patch by uploading it to this message.
The problem occurs where perlbrew acts on a downloaded perl archive, using gnu tar to expand it. Gnu tar must not be used on a filename that is absolute, on cygwin or MSWindows, because it misunderstands the C: as referring to a remote tape drive or similar device. The flag
--force-local
must be used or tar dies with an error.So, I have a fix that should not break any other platform. Thank you for your kind attention.
Here's my console error:
cygwin-gnutar.patch
Beta Was this translation helpful? Give feedback.
All reactions