【问题标题】:failure of cabal install mimecabal 安装 mime 失败
【发布时间】:2011-03-21 03:14:30
【问题描述】:

我最近获得了适用于 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)

那不满足

【问题讨论】:

    标签: haskell cabal


    【解决方案1】:

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

    1. cabal 解包,编辑 .cabal 文件以修复基础构建 dep,运行 cabal install
    2. 向维护人员发送一封措辞礼貌的电子邮件。我知道是 Sigbjorn 最近很难接触到(我听说)。如果他在几周内没有回复,我会考虑自己更新软件包并发送另一封礼貌的电子邮件(只要更改如此小且微不足道)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-05-07
      • 1970-01-01
      相关资源
      最近更新 更多