我一直在尝试安装" arithmoi"包装在ghc 7.10.1 OS X Yosemite上,但当我尝试cabal install arithmoi
时,我一直收到错误:
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: arithmoi-0.4.1.2 (user goal)
next goal: base (dependency of arithmoi-0.4.1.2)
rejecting: base-4.8.0.0/installed-901... (conflict: base =>
integer-gmp==1.0.0.0/installed-3c9..., arithmoi => integer-gmp<1)
rejecting: base-4.8.0.0, 4.7.0.2, 4.7.0.1, 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.
有什么建议吗?谢谢。
答案 0 :(得分:2)
运行cabal update
。 Arithmoi版本0.4.1.3已经出来,修复了integer-gmp上的绑定问题。