我最近得到了 Mac OS X 的 Haskell 平台。我已经 cabal 安装了几个包,然后得到了这个错误,我不明白。似乎说我需要 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)
这不满足 <=4 的 mime 要求?