2

我一直在阅读有关 Happstack 的信息,并决定试一试。我正在运行 xubuntu 9.10 并进入教程中的此页面,该页面告诉我cabal install在教程文件夹中进行操作。当我这样做时,我收到以下错误:

$ cabal install
Resolving dependencies...
cabal: cannot configure Crypto-4.2.1. It requires QuickCheck >=2
For the dependency on QuickCheck >=2 there are these packages: QuickCheck-2.1,
QuickCheck-2.1.0.1, QuickCheck-2.1.0.2 and QuickCheck-2.1.0.3. However none of them are available.
QuickCheck-2.1 was excluded because happstack-util-0.4.1 requires QuickCheck <2
QuickCheck-2.1 was excluded because MissingH-1.0.3 requires QuickCheck >=1.0 && <2.0
QuickCheck-2.1.0.1 was excluded because happstack-util-0.4.1 requires QuickCheck <2
QuickCheck-2.1.0.1 was excluded because MissingH-1.0.3 requires QuickCheck >=1.0 && <2.0
QuickCheck-2.1.0.2 was excluded because happstack-util-0.4.1 requires QuickCheck <2
QuickCheck-2.1.0.2 was excluded because MissingH-1.0.3 requires QuickCheck >=1.0 && <2.0
QuickCheck-2.1.0.3 was excluded because happstack-util-0.4.1 requires QuickCheck <2
QuickCheck-2.1.0.3 was excluded because MissingH-1.0.3 requires QuickCheck >=1.0 && <2.0

这是否告诉我某些包需要 <2 而其他包需要 >=2 ?

我尝试通过 apt-get 安装 1 和 2,但它不起作用。我得到同样的错误。如果有人可以提供建议,我将不胜感激。

4

2 回答 2

3

的作者happstack正在运送一个破损的包裹。正如 Ehemient 所指出的,这是一个已知问题。Max Bolingbroke 的消息提出了一种解决方法。

于 2010-02-11T02:58:41.440 回答
1

默认情况下,Happstack 0.5 不再需要任何版本的 QuickCheck。如果您选择构建测试,那么它使用 QuickCheck 2。

于 2010-08-01T01:44:58.497 回答