我一直在阅读有关 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,但它不起作用。我得到同样的错误。如果有人可以提供建议,我将不胜感激。