simonmar / parconc-examples

Sample code to accompany the book "Parallel and Concurrent Programming in Haskell"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cant install dependencies with ghc 7.8.2 / base-4.7.0.0

vapniks opened this issue · comments

When I run cabal install --only-dependencies with ghc 7.8.2 / base-4.7.0.0 I get:

Resolving dependencies...
cabal: Could not resolve dependencies:
trying: parconc-examples-0.3.2 (user goal)
next goal: base (dependency of parconc-examples-0.3.2)
rejecting: base-4.7.0.0/installed-018... (conflict: parconc-examples =>
base>=4.5 && <4.7)
rejecting: base-4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0, 4.5.0.0, 4.4.1.0, 4.4.0.0,
4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0, 4.1.0.0, 4.0.0.0, 3.0.3.2,
3.0.3.1 (global constraint requires installed instance)
Dependency tree exhaustively searched.

Yeah. I hope this problem will be fixed soon.

I believe I've fixed everything I can now. We're waiting for updates to distributed-process and accelerate, so for the time being I have added flags to disable these: cabal instal --only-dependencies -f-distributed -f-accelerate.

parconc-examples-0.3.4 got much better. But I cannot install it yet:

% cabal install --only-dependencies -f-distributed -f-accelerate parconc-examples
Resolving dependencies...
In order, the following would be installed:
abstract-deque-0.3 (new package)
abstract-par-0.3.3 (new package)
normaldistribution-1.1.0.3 (new package)
parallel-3.2.0.4 (new package)
transformers-0.4.1.0 (new version)
QuickCheck-2.7.5 (reinstall) changes: transformers-0.3.0.0 -> 0.4.1.0
mtl-2.2.1 (new package)
fclabels-2.0.1.1 (new package)
monad-par-extras-0.3.3 (new package)
parsec-3.1.5 (new package)
network-2.4.2.3 (latest: 2.5.0.0) (new package)
HTTP-4000.2.17 (new package)
utf8-string-0.3.8 (new package)
vector-0.10.11.0 (new package)
mwc-random-0.13.1.2 (new package)
monad-par-0.3.4.6 (new package)
repa-3.2.5.1 (new package)
xml-1.3.13 (new package)
cabal: The following packages are likely to be broken by the reinstalls:
quickcheck-io-0.1.1
Use --force-reinstalls if you want to install anyway.

Please don't mind. This is my fault.