Getting Cabal to work with GHC 6.12.1

Posted by Dan Dyer on Stack Overflow See other posts from Stack Overflow or by Dan Dyer
Published on 2009-12-15T15:48:48Z Indexed on 2010/05/15 19:14 UTC
Read the original article Hit count: 448

Filed under:
|
|

I've installed the latest GHC package (6.12.1) on OS X, but I can't get Cabal to work. I've removed the version I had previously that worked with GHC 6.10 and tried to re-install from scratch. The latest Cabal version available for download is 1.6.0.2. However, when I try to build this I get the following error:

Configuring Cabal-1.6.0.2...
Setup: failed to parse output of 'ghc-pkg dump'

From what I've found searching, this seems to suggest that the version of Cabal is too old for the version of GHC. Is there any way to get Cabal to work with GHC 6.12.1 yet?

EDIT: To be clear, I'm trying to set-up cabal-install.

© Stack Overflow or respective owner

Related posts about haskell

Related posts about cabal