- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
怎样才能安装yesod
可执行?
> cabal install yesod-bin
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: yesod-bin-1.2.0
.ghc
和
.cabal
在我的主目录中,重新安装了
haskell-platform
, 做了
cabal update
然后
cabal install yesod-platform
,一切顺利。注意到缺少 yesod 二进制文件,我找到了有关 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
最佳答案
一些发行版不包括 ghc
haskell-platform
中的库包,在我看来这是错误的。
这与 cabal
的事实有关。为未知包生成非常糟糕的错误消息。
通过简要查看 opensuse 包,您似乎需要 ghc-ghc
: http://software.opensuse.org/package/ghc-ghc
关于haskell - yesod-bin 缺少(未知)依赖项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16354574/
bin、bin/、bin/*和bin/**有什么区别我的 .gitignore 文件?我一直在使用 bin/,但正在查看 other .gitignore files (在 eclipse file
给定 n 个无限容量的箱子,我想将 m 件元素装入其中(每个元素都有特定的重量),同时最小化最重箱子的重量。 这不是传统的垃圾箱包装/背包问题,其中垃圾箱的容量有限,而您试图尽量减少使用的垃圾箱数量;
Closed. This question is off-topic。它当前不接受答案。 想改善这个问题吗? Update the question,所以它是用于堆栈溢出的on-topic。 7年前关
我一直在寻找一个问题的解决方案,这个问题显然比我最初想象的更不寻常。 Optaplanner 看起来很有前途,但由于我对 Java 相对缺乏经验,所以我想在深入研究之前调查一下这是否完全不可能。 我正
我有一个琐碎的问题。我有一个非常大的 df 有很多列。我正在尝试找到最有效的方法来对具有不同 bin 大小的所有列进行 bin 并创建一个新的 df。这是一个仅对单个列进行分箱的示例: import
我想以这样的方式对数字列 (var) 进行分类,使每个分类中的行数大致相同。我的附加要求是该列中的一个(唯一)值不能分配给多个 bin。例如,如果 var 列中的值 1 分配给 bin 1,则不允许将
我在 centos (rhel 7)_ 上使用 make 命令和 gcc 7.1 通过代码进行编译,但遇到了以下错误: /bin/sh:/bin: 是一个目录 which sh 返回/usr/bin/
/usr/bin/ld: cannot find -ldlib /usr/bin/ld: cannot find -lcblas /usr/bin/ld: cannot find -llapack 在
我进行了一项眼动追踪实验,试图检测两个区域(感兴趣区域,名为“代理”和“患者”的 AOI)的注视分布。我将整个时间划分为时间段,例如得到以下列表: Stimulus Participant A
我正在尝试替换 whoami带有 ~/.local/bin/ 中的脚本的命令.有没有办法让我的 whoami 获得优先权,这样当我运行 whoami 时,我的脚本就会运行? 最佳答案 这就是我的 ~/
我的项目结构是这样的: . ├── Cargo.lock ├── Cargo.toml └── src ├── bin │ └── other.rs ├── main.rs
我正在开发一个小型图书馆应用程序,它以这种格式存储技术手册: 目前,我正在尝试将库的内容保存并根据用户的需要加载到 bin 文件中。 但是,当我尝试加载库文件时,唯一的变化是“-1”被打印到控制台。此
我试图忽略 Web 项目的 bin 文件夹,但包含该 bin 文件夹中的 .refresh 文件。 这是我的 .gitignore 中的内容: [Bb]in/ #Allow .refresh file
ipv6_hdr__f_next_header_cp: coverpoint this.ipv6_hdr.ipv6_f_next_header iff (this.has_ipv6_header){
今天有人给我发了一个以 #: 开头的脚本,谷歌搜索后我没有找到任何答案。 即使脚本有效,我想知道那是什么意思。 最佳答案 哇!这让我想起了很多记忆! 回到 1980 年代和 90 年代初期,有两种基本
我使用这个 ksh 函数将“1-Jan-2011”格式转换为“1.1.2011”。 #!/bin/ksh ##---- function to convert 3 char month into nu
我在 c# winform 项目中使用 sql-server compact 数据库。 如果我查看构成解决方案的文件,我可以在以下两个文件夹中看到 exe 和 sdf 文件的副本: /bin/Debu
这个问题与我上一个问题不同。我正在通过以下代码使用 facetgrid 打印直方图。 import numpy as np import pandas as pd import seaborn as
我有一个整数需要根据概率分布分成 bin。例如,如果我有 N=100 对象进入 [0.02, 0.08, 0.16, 0.29, 0.45] 那么你可能会得到 [1, 10, 20 , 25, 44]
我在寻找使用 Jenkins 运行 Appium 的脚本时阅读了以下脚本 #!/bin/bash --login killall -9 "iPhone Simulator" &> /dev/null
我是一名优秀的程序员,十分优秀!