我一直在读哈普斯塔克,并决定试一试。我正在运行xubuntu 9.10并且在教程中找到this page,它告诉我在教程文件夹中执行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
这是否告诉我某些软件包需要&lt; 2而其他软件包需要&gt; = 2?
我尝试通过apt-get安装1和2,但它不起作用。我得到了同样的错误。如果有人可以提供建议,我会很感激。
答案 0 :(得分:3)
happstack
的作者正在发送破损的包裹。正如Ephemient指出的那样,这是一个known problem。 Max Bolingbroke的消息表明了一种解决方法。
答案 1 :(得分:1)
Happstack 0.5默认不再需要任何版本的QuickCheck。如果您选择构建测试,那么它使用QuickCheck 2。