cabal 安装 mime 失败
我最近得到了 Mac OS X 的 Haskell 平台。我安装了一些软件包,然后得到了这个错误,我不明白。似乎说我需要 4 的版本,但我确实有。
> cabal install mime
Resolving dependencies...
cabal: cannot configure mime-0.3.2. It requires base >=3 && <=4
For the dependency on base >=3 && <=4 there are these packages: base-3.0.3.1
and base-3.0.3.2. However none of them are available.
base-3.0.3.1 was excluded because of the top level dependency base -any
base-3.0.3.2 was excluded because of the top level dependency base -any
如果我运行cabal info base
,它会显示很多行,但其中一行是:
Versions installed: (4.3.1.0)
这不满足 mime 的 <=4 要求?
I recently got the Haskell Platform for Mac OS X. I've cabal installed a few packages, and then got this error, which I don't understand. It seems to say I need version for 4 of base, but I do have that.
> cabal install mime
Resolving dependencies...
cabal: cannot configure mime-0.3.2. It requires base >=3 && <=4
For the dependency on base >=3 && <=4 there are these packages: base-3.0.3.1
and base-3.0.3.2. However none of them are available.
base-3.0.3.1 was excluded because of the top level dependency base -any
base-3.0.3.2 was excluded because of the top level dependency base -any
If I run cabal info base
it shows many lines, but one of them is:
Versions installed: (4.3.1.0)
That doesn't satisfy the <=4 requirement of mime?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
4.3.1.0 大于 4(即 4.0.0.0)。在这些情况下,我:
cabal install
4.3.1.0 is greater than 4 (which means 4.0.0.0). In these cases I:
cabal install