无法安装 Yorgey 等人的“unbound”软件具有最新 GHC/Haskell 平台的库
有没有人设法获得 Yorgey 等人的“未绑定”库,用于使用绑定语法,并安装最新的 GHC (7.0.3) 和 Haskell 平台?尝试未绑定的阴谋集团安装,我得到以下信息:
Resolving dependencies...
cabal: cannot configure unbound-0.2.3. It requires base >=4.3 && <5
For the dependency on base >=4.3 && <5 there are these packages: base-4.3.0.0
and base-4.3.1.0. However none of them are available.
base-4.3.0.0 was excluded because of the top level dependency base -any
base-4.3.1.0 was excluded because of the top level dependency base -any
有人知道解决方案/解决方法,或者这里可能发生什么?
Has anybody managed to get Yorgey et al's "unbound" library, for working with syntax with binding, to install with the latest GHC (7.0.3) and Haskell platform? Trying a cabal install unbound, I get the following:
Resolving dependencies...
cabal: cannot configure unbound-0.2.3. It requires base >=4.3 && <5
For the dependency on base >=4.3 && <5 there are these packages: base-4.3.0.0
and base-4.3.1.0. However none of them are available.
base-4.3.0.0 was excluded because of the top level dependency base -any
base-4.3.1.0 was excluded because of the top level dependency base -any
Anybody know a solution/work around, or what may be happening here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
结束语:
OP 的路径中有多个(较旧的)版本的 GHC,导致构建错误,因为该包依赖 GHC 7。确保您拥有准确的 Haskell 平台环境是解决方案。
需要注意的是,我们应该编写一个脚本来检查给定 Haskell 环境的健全性,以捕获这样的错误。
Just to close this one:
The OP had multiple (older) versions of GHC in his path, leading to build errors, since the package relies on GHC 7. Ensuring you have exactly the Haskell Platform environment is the solution.
As a note, we should write a script that checks the sanity of a given Haskell environment, to catch errors like this.