2013-05-03 14 views
7

yesod-binに(未知の)依存関係がありませんか? <code>yesod</code>実行ファイルをインストールするにはどうすればよい

> cabal install yesod-bin 
Resolving dependencies... 
cabal: Could not resolve dependencies: 
trying: yesod-bin-1.2.0 

実際の依存関係は表示されません。イェソドと罰金にするために使用

すべて。私は自分のLinux OSをSuse12.3にアップデートした。その後、yesodは数十の壊れた依存関係について不平を言った。だから私は、GHCをアンインストールし、私のホームディレクトリに.ghc.cabalを削除し、haskell-platformを再インストールし、すべてがうまくいったcabal update、その後cabal install yesod-platformを行いました。見つからないイエローのバイナリに気づいたら、Yesod 1.2のリリースに関するブログ記事を見つけて、yesod-binをインストールしようとしましたが、今は役に立たないエラーメッセージが表示されません。でも、私には任意の有用な情報を提供しない冗長性を上げる:

> ghc --version 
The Glorious Glasgow Haskell Compilation System, version 7.4.2 

> cabal --verbose=3 install yesod-bin 
searching for ghc in path. 
found ghc at /usr/bin/ghc 
("/usr/bin/ghc",["--numeric-version"]) 
/usr/bin/ghc is version 7.4.2 
looking for tool "ghc-pkg" near compiler in /usr/bin 
found ghc-pkg in /usr/bin/ghc-pkg 
("/usr/bin/ghc-pkg",["--version"]) 
/usr/bin/ghc-pkg is version 7.4.2 
("/usr/bin/ghc",["--supported-languages"]) 
("/usr/bin/ghc",["--info"]) 
Reading installed packages... 
("/usr/bin/ghc-pkg",["dump","--global","-v0"]) 
("/usr/bin/ghc-pkg",["dump","--user","-v0"]) 
("/usr/bin/ghc",["--print-libdir"]) 
Reading available packages... 
Choosing modular solver. 
Resolving dependencies... 
[__0] trying: yesod-bin-1.2.0 
[__1] rejecting: base-3.0.3.2, 3.0.3.1 (global constraint requires installed instance) 
[__1] trying: base-4.5.1.0/installed-6e4... 
[__2] trying: rts-1.0/installedbuil... 
[__3] trying: integer-gmp-0.4.0.0/installed-af3... 
[__4] trying: ghc-prim-0.2.0.0/installed-7d3... 
[__5] trying: wai-1.4.0/installed-3a1... 
[__6] trying: vault-0.2.0.4/installed-2b6... 
[__7] trying: hashable-1.2.0.7/installed-d66... 
[__8] trying: warp-1.3.8.1/installed-ace... 
[__9] trying: void-0.6/installed-a34... 
[_10] trying: semigroups-0.9.1/installed-e88... 
[_11] trying: nats-0.1/installed-b6a... 
[_12] trying: unix-2.5.1.1/installed-48f... 
[_13] trying: simple-sendfile-0.2.11/installed-74a... 
[_14] trying: case-insensitive-1.0.0.1/installed-709... 
[_15] trying: deepseq-1.3.0.0/installed-c26... 
[_16] trying: array-0.4.0.0/installed-0b6... 
[_17] trying: blaze-builder-conduit-1.0.0/installed-3d2... 
[_18] trying: transformers-0.3.0.0/installed-8e6... 
[_19] trying: project-template-0.1.3 
[_20] trying: project-template-0.1.3:!test 
[_21] trying: mtl-2.1.2/installed-02e... 
[_22] trying: base64-conduit-1.0.0 
[_23] trying: base64-conduit-1.0.0:!test 
[_24] trying: classy-prelude-0.5.4 
[_25] trying: classy-prelude-0.5.4:!test 
[_26] trying: vector-0.10.0.1/installed-345... 
[_27] trying: primitive-0.5.0.1/installed-15c... 
[_28] trying: basic-prelude-0.3.5.0 
[_29] trying: ReadArgs-1.2.1 
[_30] trying: ReadArgs-1.2.1:!test 
[_31] trying: network-conduit-1.0.0/installed-073... 
[_32] trying: monad-control-0.3.2.1/installed-325... 
[_33] trying: transformers-base-0.4.1/installed-8ce... 
[_34] trying: base-unicode-symbols-0.2.2.4/installed-47d... 
[_35] trying: http-conduit-1.9.3/installed-ef7... 
[_36] trying: zlib-conduit-1.0.0/installed-285... 
[_37] trying: zlib-bindings-0.1.1.3/installed-ef4... 
[_38] trying: utf8-string-0.3.7/installed-3aa... 
[_39] trying: tls-extra-0.6.1/installed-a7d... 
[_40] trying: pem-0.1.2/installed-6f3... 
[_41] trying: cereal-0.3.5.2/installed-807... 
[_42] trying: cryptohash-0.9.0/installed-4c8... 
[_43] trying: tagged-0.6/installed-8e1... 
[_44] trying: crypto-api-0.12/installed-07e... 
[_45] trying: entropy-0.2.1/installed-b34... 
[_46] trying: crypto-random-api-0.2.0/installed-dd2... 
[_47] trying: crypto-pubkey-0.1.3/installed-e49... 
[_48] trying: crypto-pubkey-types-0.3.2/installed-0f2... 
[_49] trying: asn1-types-0.1.3/installed-29c... 
[_50] trying: crypto-numbers-0.1.3/installed-c6e... 
[_51] trying: cipher-rc4-0.1.2/installed-854... 
[_52] trying: cipher-aes-0.1.8/installed-aaa... 
[_53] trying: tls-1.1.2/installed-106... 
[_54] trying: socks-0.5.1/installed-1e3... 
[_55] trying: regex-compat-0.95.1/installed-cc3... 
[_56] trying: regex-posix-0.95.2/installed-417... 
[_57] trying: regex-base-0.93.2/installed-920... 
[_58] trying: random-1.0.1.1/installed-a21... 
[_59] trying: publicsuffixlist-0.1/installed-7c1... 
[_60] trying: mime-types-0.1.0.3/installed-f07... 
[_61] trying: failure-0.2.0.1/installed-579... 
[_62] trying: data-default-0.5.3/installed-f33... 
[_63] trying: data-default-instances-old-locale-0.0.1/installed-e48... 
[_64] trying: old-locale-1.0.0.4/installed-5e4... 
[_65] trying: data-default-instances-dlist-0.0.1/installed-ec3... 
[_66] trying: dlist-0.5/installed-0a8... 
[_67] trying: data-default-instances-containers-0.0.1/installed-a88... 
[_68] trying: data-default-instances-base-0.0.1/installed-2ea... 
[_69] trying: data-default-class-0.0.1/installed-404... 
[_70] trying: cprng-aes-0.3.4/installed-bc2... 
[_71] trying: cookie-0.4.0.1/installed-9d9... 
[_72] trying: certificate-1.3.7/installed-d6c... 
[_73] trying: asn1-data-0.7.1/installed-8ec... 
[_74] trying: network-2.3.1.0/installed-efa... 
[_75] trying: http-reverse-proxy-0.1.1.6 
[_76] trying: http-reverse-proxy-0.1.1.6:!test 
[_77] trying: word8-0.0.3/installed-366... 
[_78] trying: lifted-base-0.2.0.4/installed-1f9... 
[_79] trying: base64-bytestring-1.0.0.1/installed-ffa... 
[_80] trying: resourcet-0.4.7.1/installed-45e... 
[_81] trying: mmorph-1.0.0/installed-19c... 
[_82] trying: conduit-1.0.5/installed-a38... 
[_83] trying: file-embed-0.0.4.7/installed-004... 
[_84] trying: split-0.2.1.1/installed-03e... 
[_85] trying: fsnotify-0.0.11 
[_86] trying: fsnotify-0.0.11:!test 
[_87] trying: hinotify-0.3.5 
[_88] trying: hinotify-0.3.5:+split-base 
[_89] trying: optparse-applicative-0.5.2.1 
[_90] trying: optparse-applicative-0.5.2.1:!test 
[_91] trying: yaml-0.8.2.4/installed-68e... 
[_92] trying: aeson-0.6.1.0/installed-9bd... 
[_93] trying: syb-0.3.7/installed-60a... 
[_94] trying: unordered-containers-0.2.3.1/installed-55f... 
[_95] trying: system-fileio-0.3.11/installed-2fc... 
[_96] trying: system-filepath-0.4.7/installed-977... 
[_97] trying: tar-0.4.0.1 
[_98] trying: old-time-1.1.0.0/installed-703... 
[_99] trying: zlib-0.5.4.0/installed-f9a... 
[100] trying: process-1.1.0.1/installed-608... 
[101] trying: filepath-1.3.0.0/installed-f99... 
[102] trying: blaze-builder-0.3.1.1/installed-536... 
[103] trying: http-types-0.8.0/installed-a08... 
[104] trying: attoparsec-0.10.4.0/installed-c39... 
[105] trying: containers-0.4.2.1/installed-75f... 
[106] trying: unix-compat-0.4.1.1/installed-35c... 
[107] trying: directory-1.1.0.2/installed-c30... 
[108] trying: template-haskell-2.7.0.0/installed-2bd... 
[109] trying: pretty-1.1.1.0/installed-91e... 
[110] trying: time-1.4/installed-d61... 
[111] trying: bytestring-0.9.2.1/installed-503... 
[112] trying: shakespeare-css-1.0.5.1/installed-013... 
[113] trying: shakespeare-js-1.1.4/installed-df8... 
[114] trying: shakespeare-1.0.5/installed-9c1... 
[115] trying: shakespeare-text-1.0.0.5 
[116] trying: shakespeare-text-1.0.0.5:!test 
[117] trying: text-0.11.2.3/installed-db6... 
[118] trying: parsec-3.1.3/installed-771... 
[119] rejecting: ghc-paths-0.1.0.9 (unknown package: ghc) 
[__0] fail (backjumping, conflict set: ghc, yesod-bin) 
cabal: Could not resolve dependencies: 
trying: yesod-bin-1.2.0 

答えて

6

一部のディストリビューションは、私の意見で間違っているhaskell-platformghcライブラリパッケージを、含まれていません。実際cabalに関連して

これは、未知のパッケージのために非常に悪いのエラーメッセージを生成します。 http://software.opensuse.org/package/ghc-ghc

+0

エラーがリポジトリから 'GHC-ghc'をインストールした後に残る:あなたがghc-ghcを必要とするかのように簡単にopenSUSEのパッケージを見ることによって

は、それが見えます。それにもかかわらず、情報のため おかげで、それは私が解決策を探し続けることができます。 – Steffen

+0

これを見ると、 'ghc-ghc-devel'が必要なライブラリを提供しました。バイナリがインストールされました。ありがとう! (今上イェソドのdevel' 'によって生成されたすべての依存関係のエラーを解決する。うわ...) – Steffen

+0

完璧なタイミング質問と回答、ありがとうございました:)。 –

関連する問題