2

Haskell Platform 2011.2.0.1 を実行していて、Yesod をインストールしようとしていますが、次のエラーが表示され続けます:

cabal: cannot configure tls-extra-0.4.1. It requires certificate >=1.0.0 &&
<1.1.0 and cryptocipher >=0.3.0
For the dependency on certificate >=1.0.0 && <1.1.0 there are these packages:
certificate-1.0.0. However none of them are available.
certificate-1.0.0 was excluded because http-enumerator-0.7.1.3 requires
certificate >=0.7 && <0.10
For the dependency on cryptocipher >=0.3.0 there are these packages:
cryptocipher-0.3.0. However none of them are available.
cryptocipher-0.3.0 was excluded because clientsession-0.7.3.2 requires
cryptocipher >=0.2.5 && <0.3

誰でも助けることができますか?

4

1 に答える 1

3

他のパッケージが許可するよりも新しいバージョンのパッケージを必要とする真新しい tls-extra があるため、cabal-install は首尾一貫したインストール プランを構築できません。新しい光沢のある tls-extra が本当に必要な場合は、証明書と暗号化の新しいバージョンを許可するために、互換性のない依存関係 (http-enumerator と clientsession など) を持つパッケージを待つか、手動で編集する必要があります。
古いバージョンで生活できる場合は、

$ cabal install yesod --constraint="tls-extra < 0.4.1"

おそらく機能します(おそらく、より制限的な制約や他のパッケージにも制約が必要です)。

于 2011-11-01T15:10:38.100 に答える