Re: [FYI] How I compile on SunOS 5.7 with the SUNWspro compiler and ksh
- From
Jeff King <peff@peff.net>
- Date
- Aug 19, 2008, 02:01 UTC
- Message-ID
- <20080819020131.GA18364@coredump.intra.peff.net>
- In-Reply-To
- <L3gfLYBAXG5GUGcbdLqOnZab_UfskZC4FTgP9d47MJuoAiJRa2V5ZQ@cipher.nrlssc.navy.mil>
On Mon, Aug 18, 2008 at 07:47:39PM -0500, Brandon Casey wrote:
Show 7 quoted lines
> > Hmm. I thought I had t5000 working on Solaris 5.7 a few months ago. > > Unfortunately, the Solaris box I test on is down at the moment, so I > > can't take a closer look. What is the problem? > > Probably: > $ gtar --version > tar (GNU tar) 1.12
Ah, I found out the difference: my box is actually Solaris 5.8. The gtar version there is 1.13 (which is also the version that ships with Solaris 5.9).
> $ gtar xf - < ../b.tar > /apps/bin/gtar: Unknown file type 'g' for pax_global_header, extracted as normal file > /apps/bin/gtar: : Could not create directory: No such file or directory > /apps/bin/gtar: Error exit delayed from previous errors
I get the pax header warning, but nothing else. Judging from your find results:
> ./a/long_path_to_a_file > ./a/long_path_to_a_file/long_path_to_a_file > ./a/long_path_to_a_file/long_path_to_a_file/long_path_to_a_file > ./a/long_path_to_a_file/long_path_to_a_file/long_path_to_a_file/long_path_to_a_file
There should be another directory that is one level deeper, with "file_with_long_path" in it...
> ./file_with_long_path
which seems to have been extracted in the root instead!
So perhaps you are hitting some length limitation in gtar.
-Peff