3

我最近得到了 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 要求?

4

1 回答 1

4

4.3.1.0 大于 4(即 4.0.0.0)。在这些情况下,我:

  1. cabal unpack ,编辑 .cabal 文件以修复基本构建 dep,运行cabal install
  2. 向维护者发送一封措辞礼貌的电子邮件。我知道是 Sigbjorn 最近很难接触到(我听说)。如果他在几周内没有回复,我会考虑自己更新包裹并发送另一封礼貌的电子邮件(只要变化很小且微不足道)。
于 2011-03-21T03:57:00.807 回答