[Haskell-cafe] Errors installing 'Haskell Charts'

Henning Thielemann lemming at henning-thielemann.de
Fri Jun 10 21:35:07 CEST 2011


On Fri, 10 Jun 2011, Dmitri O.Kondratiev wrote:

> /var/folders/Bo/BobN2Ap5GZW51e9o-n2Ack+++TI/-Tmp-/cairo-0.12.04207/cairo-0.12.0/Gtk2HsSetup.hs:201:69:
>     Couldn't match expected type `PackageDBStack'
>            against inferred type `PackageDB'
>     In the sixth argument of `registerPackage', namely `packageDb'
>     In the expression:
>         registerPackage
>           verbosity installedPkgInfo pkg lbi inplace packageDb
>     In a case alternative:
>         _ | modeGenerateRegFile -> die "Generate Reg File not supported"
>           | modeGenerateRegScript -> die "Generate Reg Script not supported"
>           | otherwise
>           -> registerPackage
>                verbosity installedPkgInfo pkg lbi inplace packageDb

This looks like an incompatibility between cabal versions. Try switching 
between Cabal-1.10 and Cabal-1.8.



More information about the Haskell-Cafe mailing list