Problems trying out happstack-tutorial
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
Qui开发者_StackOverflowckCheck-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.
The authors of happstack
are shipping a broken package. As Ephemient points out, this is a known problem. Max Bolingbroke's message suggests a workaround.
Happstack 0.5 no longer requires any version of QuickCheck by default. If you opt to build the tests, then it uses QuickCheck 2.
精彩评论