我想安装yesod
以了解一些关于网络的知识并在业余时间玩一下 Haskell,但是当我这样做时:
> cabal install yesod
Resolving dependencies...
cabal: cannot configure cprng-aes-0.2.2. It requires crypto-api >=0.8
For the dependency on crypto-api >=0.8 there are these packages:
crypto-api-0.8. However none of them are available.
crypto-api-0.8 was excluded because skein-0.1.0.1 requires crypto-api ==0.6.*
crypto-api-0.8 was excluded because crypto-api-0.6.4 was selected instead
crypto-api-0.8 was excluded because clientsession-0.7.3.1 requires crypto-api
>=0.6.4 && <0.7
但我认为我安装了正确的软件包
cabal list cprng-aes skein crypto-api clientsession
* clientsession
Synopsis: Securely store session data in a client-side cookie.
Default available version: 0.7.3.1
Installed versions: 0.7.3.1
Homepage: http://github.com/snoyberg/clientsession/tree/master
License: BSD3
* cprng-aes
Synopsis: Crypto Pseudo Random Number Generator using AES in counter mode.
Default available version: 0.2.2
Installed versions: 0.2.2
Homepage: http://github.com/vincenthz/hs-cprng-aes
License: BSD3
* crypto-api
Synopsis: A generic interface for cryptographic operations
Default available version: 0.8
Installed versions: 0.6.4, 0.8
Homepage: http://trac.haskell.org/crypto-api/wiki
License: BSD3
* crypto-api-tests
Synopsis: A test framework and KATs for cryptographic operations.
Default available version: 0.1
Installed versions: [ Not installed ]
Homepage: http://trac.haskell.org/crypto-api/wiki
License: BSD3
* hack-middleware-clientsession
Synopsis: Middleware for easily keeping session data in client cookies.
Default available version: 0.0.1
Installed versions: [ Not installed ]
Homepage: http://github.com/snoyberg/hack-middleware-clientsession/tree/master
License: BSD3
* skein
Synopsis: Skein, a family of cryptographic hash functions. Includes
Skein-MAC as well.
Default available version: 0.1.0.1
Installed versions: 0.1.0.1
License: BSD3
我不太了解,cabal install
但似乎两者crypto-api >=0.8
都是<7
必需的,这似乎是不可能的。