Re: use gtar and not tar under solaris

2009-08-10 Thread Duncan Coutts
On Fri, 2009-08-07 at 13:14 +0200, Christian Maeder wrote: Christian Maeder wrote: Matthias Kilian wrote: However, to create an archive, you can use something like $ pax -wf foo.tar directory Do you think gtar --format=posix would be different from pax? I would expect they are the

Re: use gtar and not tar under solaris

2009-08-07 Thread Christian Maeder
Matthias Kilian wrote: However, to create an archive, you can use something like $ pax -wf foo.tar directory Do you think gtar --format=posix would be different from pax? The only question is, if we should create archives using the ustar, posix/pax, or gnu format. ustar seems to be the least

Re: use gtar and not tar under solaris

2009-08-07 Thread Christian Maeder
Christian Maeder wrote: Matthias Kilian wrote: However, to create an archive, you can use something like $ pax -wf foo.tar directory Do you think gtar --format=posix would be different from pax? The only question is, if we should create archives using the ustar, posix/pax, or gnu

Re: use gtar and not tar under solaris

2009-08-06 Thread Duncan Coutts
On Tue, 2009-08-04 at 10:15 +0200, Christian Maeder wrote: Hi, I've just been informed that unpacking the binary (i386) solaris distribution using bunzip2 and tar: It may work better in future if you use a non-GNU tar to pack it up in the first place. GNU tar uses a non-standard tar format

Re: use gtar and not tar under solaris

2009-08-06 Thread Duncan Coutts
On Thu, 2009-08-06 at 12:30 +0100, Duncan Coutts wrote: On Tue, 2009-08-04 at 10:15 +0200, Christian Maeder wrote: Hi, I've just been informed that unpacking the binary (i386) solaris distribution using bunzip2 and tar: It may work better in future if you use a non-GNU tar to pack it

Re: use gtar and not tar under solaris

2009-08-06 Thread Christian Maeder
ghc's configure script set: TAR = /opt/csw/bin/gtar ZIP = zip in mk/config.mk although I've got /usr/bin/tar, too (and earlier in my path). Cheers Christian Duncan Coutts wrote: On Tue, 2009-08-04 at 10:15 +0200, Christian Maeder wrote: Hi, I've just

Re: use gtar and not tar under solaris

2009-08-06 Thread Matthias Kilian
On Thu, Aug 06, 2009 at 12:30:51PM +0100, Duncan Coutts wrote: I've just been informed that unpacking the binary (i386) solaris distribution using bunzip2 and tar: It may work better in future if you use a non-GNU tar to pack it up in the first place. GNU tar uses a non-standard tar format

Re: use gtar and not tar under solaris

2009-08-06 Thread Christian Maeder
Matthias Kilian wrote: On Thu, Aug 06, 2009 at 12:30:51PM +0100, Duncan Coutts wrote: I've just been informed that unpacking the binary (i386) solaris distribution using bunzip2 and tar: It may work better in future if you use a non-GNU tar to pack it up in the first place. GNU tar uses a

Re: use gtar and not tar under solaris

2009-08-06 Thread Matthias Kilian
On Thu, Aug 06, 2009 at 08:54:49PM +0200, Christian Maeder wrote: Is there something like pax(1) available on solaris? If so, it should be be preferred, because it's a POSIX tool, so there's some hope that it behaves the same on different systems. Yes, pax is available under solaris. I

use gtar and not tar under solaris

2009-08-04 Thread Christian Maeder
Hi, I've just been informed that unpacking the binary (i386) solaris distribution using bunzip2 and tar: bunzip2 -c ghc-6.10.4-i386-unknown-solaris2.tar.bz2 | tar xvf - does not work properly! Use instead: gtar jxvf ghc-6.10.4-i386-unknown-solaris2.tar.bz2 File names longer than a hundred