2

I've been reading about Happstack and decided to give it a shot. I'm running xubuntu 9.10 and got to this page in the tutorial which told me to do cabal install in the tutorial folder. When I did this, I got the following errors:

$ 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

Is this telling me that some packages need <2 and others need >=2 ?

I tried to install both 1 and 2 via apt-get but it does not work. I get the same errors. If anyone can provide suggestions, I'd appreciate it.

4

2 に答える 2

3

の作者はhappstack壊れたパッケージを出荷しています。エフェミエントが指摘しているように、これは既知の問題です。Max Bolingbroke のメッセージは回避策を提案しています。

于 2010-02-11T02:58:41.440 に答える
1

Happstack 0.5 では、デフォルトでどのバージョンの QuickCheck も必要なくなりました。テストをビルドすることを選択した場合、QuickCheck 2 が使用されます。

于 2010-08-01T01:44:58.497 に答える