use gtar and not tar under solaris

Christian Maeder Christian.Maeder at
Thu Aug 6 07:58:23 EDT 2009

ghc's configure script set:

TAR                     = /opt/csw/bin/gtar
ZIP                     = zip

in mk/ although I've got /usr/bin/tar, too (and earlier in my

Cheers Christian

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 up in
> the first place. GNU tar uses a non-standard tar format by default.
> Solaris tar would likely have more luck unpacking a POSIX/USTAR tar
> format file. It's also possible to use gnu tar to make standard tar
> format files, using --format ustar rather than gnu tar's default of
> --format gnu.
> Duncan
> (who now knows an unhealthy amount about tar file formats after writing
> a Haskell package to read them)

More information about the Glasgow-haskell-users mailing list