From: Uri Guttman >>>>>> "BM" == Bob McConnell <r...@cbord.com> writes: > BM> From: Uri Guttman > > >> tar zxvf Test-Harness-3.17.tar.gz > > BM> C:\camelbox\.cpan\build\tmp-Test>tar xzvf > BM> D:\Downloads\Test-Harness-3.21.tar.gz > BM> tar: Cannot use compressed or remote archives > BM> tar: Error is not recoverable: exiting now > > what is different from my options vs yours? :) gnu tar can properly call > gzip if the z option is in the right place.
I don't see any difference. But I also don't see anything that tells me where they got this one from. It may not be one of the more recent releases. ------------------------------------------------- C:\camelbox\.cpan\build\tmp-Test>tar zxvf D:\Downloads\Test-Harness-3.21.tar.gz tar: Cannot use compressed or remote archives tar: Error is not recoverable: exiting now ------------------------------------------------- > BM> But piping from gzip still works. The current build gives me: > > BM> ------------------------------------------------- > BM> C:\camelbox\.cpan\build\tmp-Test>gzip -dc > BM> D:\Downloads\Test-Harness-3.21.tar.gz > BM> | tar xvf - > > is that all one line? don't let your emailer wrap lines for you. this is > a general rule about posting commands with long lines. Yes, that was all one line. Lookout doesn't give me any options to prevent it from wrapping. Microsoft _always_ believe they know what's best for you. > are you sure the tar command is the camelbones one? Yes, I have done a search for tar.exe and renamed every other one that is even close to an active PATH. > BM> tar: prove: Could not create directory: Permission denied > BM> ... > > ok, that is a clue. make sure you have a clean subdir below you when you > do this. again, winblows is wierd with things like this. Each was done in a clean directory. This one was denied because there was already a file named 'prove' that should have been put into the bin/ directory but wasn't. > BM> Only the older archive will work. > > BM> ------------------------------------------------- > BM> C:\camelbox\.cpan\build\tmp-Test>gzip -dc > BM> D:\Downloads\Test-Harness-3.17.tar.gz > BM> | tar xvf - > BM> Test-Harness-3.17/ > BM> Test-Harness-3.17/Build.PL > > is this with a clean subdir or overwriting the existing 3.17 subdir? > > i really suspect you are doing some dumb little subtle thing wrong. like > i said, do it with a clean subdir. make sure you are calling the > camelbones programs (try full paths to them). try just using tar like i > showed (LOOK AT THE OPTIONS ORDER. it matters) It wasn't me that did it the first time. I simply ran 'CPAN Test::Harness' And this problem popped up. Now that this is in the queue, i can't get CPAN to install anything else because this one errors out first and terminates the process. > also try to be in the dir with the tarball itself. make sure there is > nothing else in that dir. do that with both versions. don't use the pipe > idea as it will work on unix but $DEITY knows on windows. Unfortunately, for the next few months I have to suffer with MS-Windows in order to collect a regular pay check. After I retire I can finally get away from it. All nine computers at home are already running various distributions of Linux or FreeBSD. In the meantime, I need to know what the difference is between the 3.17 and 3.21 archives on CPAN. Why does one work and the other not? Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/