in reply to help with Archive::tar
Anyway, I think the first reply is more likely to have nailed it. When you do "tar tf whatever.tar" on the solaris box, do you see one or more directory names and slashes in front of "toc"?
I don't know why this would trigger a "checksum error"; I assume that winzip succeeded on the exact same file where your perl script failed (and that "success" means the "toc" file looked fine after being extracted), so that would rule out a file corruption problem.
Looking at the module's source code, I do see the obligatory "binmode" applied to the input file handle, so it's not a dos text-mode-io problem either; also, I see that the checksum error involves trying to validate a particular file, but the commentary that surrounds this part of the code seems odd. If I were to run into this problem (and if I felt I had the time), I'd step through with "perl -d", to see where it's getting the reference checksum, and why that isn't matching the data.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: help with Archive::tar
by paulehr (Sexton) on Mar 29, 2006 at 12:58 UTC | |
by graff (Chancellor) on Mar 31, 2006 at 03:12 UTC | |
by paulehr (Sexton) on Apr 03, 2006 at 12:20 UTC | |
by graff (Chancellor) on Apr 03, 2006 at 15:21 UTC | |
by paulehr (Sexton) on Apr 04, 2006 at 20:32 UTC | |
| |
by mikeock (Hermit) on Mar 29, 2006 at 15:19 UTC |