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.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to