use gtar and not tar under solaris

Christian Maeder Christian.Maeder at dfki.de
Tue Aug 4 04:15:15 EDT 2009


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 characters are cut off, i.e.

ghc-6.10.4/libraries/dph/dph-prim-seq/dist/build/Data/Array/Parallel/Unlifted/Sequential/Flat/UArr.hi
is wrongly extracted as:
ghc-6.10.4/libraries/dph/dph-prim-seq/dist/build/Data/Array/Parallel/Unlifted/Sequential/Flat/UArr.h

leading to an installation failure:

installPackage: Error: Could not find module:
Data.Array.Parallel.Unlifted.Sequential.Flat.UArr with any suffix: ["hi"]
gmake[1]: *** [install.library.dph/dph-prim-seq] Error 1

Ian, could you place a note about using gtar for unpacking solaris
binary-dists?

Cheers Christian


More information about the Glasgow-haskell-users mailing list