Installation question: cpphs, unix, and HEAD
kathleen.fisher at gmail.com
Fri Sep 3 12:42:17 EDT 2010
I am trying to install the cpphs package with the current HEAD version of Haskell. When I ask cabal to do the installation, I get the following error:
> Babylon:/Users/kfisher/sw/ghc-head-libraries/cpphs-1.11> ~/.cabal/bin/cabal install cpphs -w ~/ghc-head/bin/ghc --with-haddock=/Users/kfisher/ghc-head/bin/haddock --package-db=/Users/kfisher/ghc-head/lib/ghc-6.13.20100831/package.conf.d
> Resolving dependencies...
> cabal: cannot configure unix-184.108.40.206. It requires base ==4.2.*
> For the dependency on base ==4.2.* there are these packages: base-220.127.116.11,
> base-18.104.22.168 and base-22.214.171.124. However none of them are available.
> base-126.96.36.199 was excluded because base-188.8.131.52 was selected instead
> base-184.108.40.206 was excluded because of the top level dependency base -any
> base-220.127.116.11 was excluded because base-18.104.22.168 was selected instead
> base-22.214.171.124 was excluded because of the top level dependency base -any
> base-126.96.36.199 was excluded because base-188.8.131.52 was selected instead
> base-184.108.40.206 was excluded because of the top level dependency base -any
This seems odd for multiple reasons:
1. I already have unix-220.127.116.11 installed (it was a boot library).
So why is cabal trying to install it again?
2. Given that I already have unix-18.104.22.168 installed and my base is 22.214.171.124,
why does unix-126.96.36.199 report that it needs base==4.2.*?
3. Given that the cabal file for cpphs says it needs base < 6 and haskell98 and
my package database satisfies both of those constraints, why is cabal
trying to install anything else?
I include the listing of my installed packages below.
What is going on is probably obvious to someone who knows more about the library installation process.
> Babylon:/Users/kfisher/sw/ghc-head-libraries/cpphs-1.11>~/ghc-head/bin/ghc-pkg list
More information about the Libraries