So this is hilarious. This whole time I thought 'warning' meant 'error'.
On Tuesday 15 November 2011, 22:34:17, Blaine wrote:Not.
> Great question. How does one ignore the warning?
process and directory are boot packages, required by ghc and indirectly by
many of the packages you install(ed).
Having multiple versions of these spells trouble and breakage.
Read http://www.vex.net/~trebla/haskell/sicp.xhtml for more.
You already have two versions of directory, the one ghc was built with and
1.1.0.1. It's not unlikely that you already have some unusable packages due
to that.
$ ghc-pkg check
should tell you about such.
You should unregister the duplicate directory (1.1.0.1, *keep the one ghc
was built with*) and all packages depending on it.
Then you can try to reinstall those packages, before cabal installing
anything, you should check with --dry-run whether it would install a new
version of any of the boot packages (basically everything coming with ghc
itself, but having a newer version of Cabal is okay). If it would, stop.