[email protected]
[Top] [All Lists]

[Haskell-cafe] Cannot rebuild GHC 6.12.1 due to Cabal type conflict

Subject: [Haskell-cafe] Cannot rebuild GHC 6.12.1 due to Cabal type conflict
From: James Britt
Date: Fri, 22 Jan 2010 00:44:21 -0700
Hey all.

I recently  wanted to rebuild GHC 6.12.1 from source (from a downloaded

After the first install from that source I  went and updated Cabal (from
a tarball grabbed from Hackage).

When I now try to do a rebuild of GHC, I get this error

    Couldn't match expected type `InstalledPackageInfo_ String'
           against inferred type
      Expected type: [InstalledPackageInfo_ String]
      Inferred type:
    In the second argument of `map', namely `conf'
    In the first argument of `return', namely
        `(map installedPackageInfoToPackageConfig conf)'
make[1]: *** [compiler/stage1/build/Packages.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

(also here: http://hpaste.org/fastcgi/hpaste.fcgi/view?id=16380#a16380)

I'm running the build like this:

make distclean
sh boot
./configure --enable-shared
make -j 2

but (I'm guessing) it's looking at the already-installed Cabal libs and
not liking what it's getting.

Any ideas on how to get past this?


James Britt


www.jamesbritt.com           - Playing with Better Toys
www.ruby-doc.org             - Ruby Help & Documentation
www.rubystuff.com            - The Ruby Store for Ruby Stuff
www.neurogami.com            - Smart application development

Haskell-Cafe mailing list
[email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • [Haskell-cafe] Cannot rebuild GHC 6.12.1 due to Cabal type conflict, James Britt <=