[haskell-llvm] [Haskell-cafe] Hackage have ghc 7.0 false
jwlato at gmail.com
Wed Dec 8 10:38:54 EST 2010
> From: Henning Thielemann <lemming at henning-thielemann.de>
> On Tue, 7 Dec 2010, Maciej Piechotka wrote:
> > To begin with there is type-checking error when compiling with cabal
> > 1.10 shipped with ghc:
> > Couldn't match expected type `[PackageDB]'
> > with actual type `PackageDB'
> > Expected type: PackageDBStack
> > Actual type: PackageDB
> > In the sixth argument of `registerPackage', namely `packageDb'
> > In the expression:
> > registerPackage
> > verbosity installedPkgInfo pkg lbi inplace packageDb
> This looks like an incompatibility with respect to Cabal, not with respect
> to the 'llvm' modules and GHC-7.
It is. I recently tried to install llvm with ghc-7 and had the same problem
with Setup.hs. The first way I got it to work was by compiling Setup.hs
with ghc-6, and then build and register llvm with the standalone Setup
program. After that it's been fine for my usage.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-llvm