Discussion:
cant untar
(too old to reply)
Andy Armstrong
2008-06-11 14:54:22 UTC
Permalink
Scanning cache /cygdrive/c/Documents and Settings/noah/.cpan/build
for sizes
gzip: and.gz: No such file or directory
gzip: Settings/noah/.cpan/sources/authors/id/A/AN/ANDK/Bundle-
No such file or directory
/usr/bin/tar: This does not look like a tar archive
/usr/bin/tar: Error exit delayed from previous errors
tar is getting an unquoted pathname containing spaces - so it sees the
name as three distinct arguments.

A local fix would be to move your cygwin cpan to ~/.cpan (which
probably maps to something like C:\cygwin\home\noah\.cpan in Windows)
- no spaces.
--
Andy Armstrong, Hexten
Noah
2008-06-11 15:37:23 UTC
Permalink
in line below
Post by Andy Armstrong
Scanning cache /cygdrive/c/Documents and Settings/noah/.cpan/build for
sizes
gzip: and.gz: No such file or directory
No such file or directory
/usr/bin/tar: This does not look like a tar archive
/usr/bin/tar: Error exit delayed from previous errors
tar is getting an unquoted pathname containing spaces - so it sees the
name as three distinct arguments.
A local fix would be to move your cygwin cpan to ~/.cpan (which probably
maps to something like C:\cygwin\home\noah\.cpan in Windows) - no spaces.
I am very new to cygwin. can you explain how I can do that
Mark J. Reed
2008-06-11 15:42:29 UTC
Permalink
tar is getting an unquoted pathname containing spaces - so it sees the name
as three distinct arguments.
Which is an example of horribly sloppy programming somewhere in CPAN.
I can't believe we still have issues with spaces in filenames...
A local fix would be to move your cygwin cpan to ~/.cpan (which probably
maps to something like C:\cygwin\home\noah\.cpan in Windows) - no spaces.
I would guess rather that the reason the OP's .cpan is in C:\Documents
and Settings\noah is because that *is* ~. In which case he would need
to change his home directory in cygwin's passwd file (or rerun cpan
config and point it someplace else..)
--
Mark J. Reed <***@gmail.com>
Noah
2008-06-11 17:05:33 UTC
Permalink
Post by Mark J. Reed
tar is getting an unquoted pathname containing spaces - so it sees the name
as three distinct arguments.
Which is an example of horribly sloppy programming somewhere in CPAN.
I can't believe we still have issues with spaces in filenames...
A local fix would be to move your cygwin cpan to ~/.cpan (which probably
maps to something like C:\cygwin\home\noah\.cpan in Windows) - no spaces.
I would guess rather that the reason the OP's .cpan is in C:\Documents
and Settings\noah is because that *is* ~. In which case he would need
to change his home directory in cygwin's passwd file (or rerun cpan
config and point it someplace else..)
Hi,

I pointed everything to /tmp :)

Continue reading on narkive:
Loading...