
Hi,
Following advice on the haskell-cafe@ mailing list I found a solution.
It turns out if cabal-install is compiled using GHC 6.12.1 then
everything works.
Thanks, Neil
On Wed, Mar 3, 2010 at 9:09 PM, Neil Mitchell
Hi,
I get this error on multiple machines running Windows, with both GHC 6.10.4 and 6.12.1:
$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.12.1
$ cabal --version cabal-install version 0.8.0 using version 1.8.0.2 of the Cabal library
$ cabal update Downloading the latest package list from hackage.haskell.org cabal: Codec.Compression.Zlib: premature end of compressed stream
This is the same error as reported on http://hackage.haskell.org/trac/hackage/ticket/636. I'm also not the only Windows user I know who has got this. Is Cabal broken in some way? It's fairly serious and annoying that GHC 6.12.1 can't be used with Cabal.
Thanks, Neil