Setup sdist broken on Windows

Duncan Coutts duncan.coutts at
Tue Apr 10 19:26:26 EDT 2007

On Tue, 2007-04-10 at 15:24 +0100, Neil Mitchell wrote:
> Hi,
> On Windows, taking the filepath library:

> D:\bin\tar.exe -C dist\src -czf dist\filepath-1.0.tar.gz filepath-1.0
> D:\bin\tar.exe: Cannot use compressed or remote archives
> D:\bin\tar.exe: Error is not recoverable: exiting now

> Any idea what is wrong?

Perhaps your tar doesn't like the -z option to create gziped tarballs,
or perhaps it relies on an external gzip command which is missing.

Obviously this whole calling tar+gzip solution is not so good on
windows. Bjorn has some code for reading and writing tar files but for
gzip we only have pure Haskell implementation of the decompression code,
for compression we'd need either my zlib binding (which uses an external
zlib.dll on windows, though in theory it could be statically linked) or
some other implementation.


More information about the cabal-devel mailing list