- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我不知道如何解决这个问题。有人有什么想法吗?
当我尝试时收到以下错误消息:
~ >>> cabal install yesod
Resolving dependencies...
Configuring aeson-0.5.0.0...
Preprocessing library aeson-0.5.0.0...
Preprocessing test suites for aeson-0.5.0.0...
Building aeson-0.5.0.0...
[ 1 of 10] Compiling Data.Aeson.Types.Internal ( Data/Aeson/Types/Internal.hs, dist/build/Data/Aeson/Types/Internal.o )
[ 2 of 10] Compiling Data.Aeson.Functions ( Data/Aeson/Functions.hs, dist/build/Data/Aeson/Functions.o )
[ 3 of 10] Compiling Data.Aeson.Types.Class ( Data/Aeson/Types/Class.hs, dist/build/Data/Aeson/Types/Class.o )
[ 4 of 10] Compiling Data.Aeson.Types ( Data/Aeson/Types.hs, dist/build/Data/Aeson/Types.o )
[ 5 of 10] Compiling Data.Aeson.Parser.Internal ( Data/Aeson/Parser/Internal.hs, dist/build/Data/Aeson/Parser/Internal.o )
SpecConstr
Function `$j_sqbP{v} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
SpecConstr
Function `$j_sqbP{v} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
SpecConstr
Function `$j_sqbT{v} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
SpecConstr
Function `$j_sqbP{v} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
SpecConstr
Function `$j_sqbT{v} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
SpecConstr
Function `$j_sqbP{v} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
SpecConstr
Function `$j_sqbT{v} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
SpecConstr
Function `$j_sqc0{v} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
SpecConstr
Function `ks3{v sqhn} [lid]'
has one call pattern, but the limit is 0
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
[ 6 of 10] Compiling Data.Aeson.Parser ( Data/Aeson/Parser.hs, dist/build/Data/Aeson/Parser.o )
[ 7 of 10] Compiling Data.Aeson.Encode ( Data/Aeson/Encode.hs, dist/build/Data/Aeson/Encode.o )
[ 8 of 10] Compiling Data.Aeson.Generic ( Data/Aeson/Generic.hs, dist/build/Data/Aeson/Generic.o )
[ 9 of 10] Compiling Data.Aeson ( Data/Aeson.hs, dist/build/Data/Aeson.o )
[10 of 10] Compiling Data.Aeson.TH ( Data/Aeson/TH.hs, dist/build/Data/Aeson/TH.o )
Data/Aeson/Generic.hs:31:8:
Could not find module `Control.Monad.State.Strict':
Perhaps you haven't installed the profiling libraries for package `mtl-2.0.1.0'?
Use -v to see a list of the files searched for.
Configuring control-monad-attempt-0.3.0.1...
Preprocessing library control-monad-attempt-0.3.0.1...
Building control-monad-attempt-0.3.0.1...
[1 of 1] Compiling Control.Monad.Attempt ( Control/Monad/Attempt.hs, dist/build/Control/Monad/Attempt.o )
[1 of 1] Compiling Control.Monad.Attempt ( Control/Monad/Attempt.hs, dist/build/Control/Monad/Attempt.p_o )
Control/Monad/Attempt.hs:33:1:
Failed to load interface for `Control.Monad.Trans.Class':
Perhaps you haven't installed the profiling libraries for package `transformers-0.2.2.0'?
Use -v to see a list of the files searched for.
Configuring email-validate-0.2.7...
Preprocessing library email-validate-0.2.7...
Building email-validate-0.2.7...
[1 of 1] Compiling Text.Email.Validate ( Text/Email/Validate.hs, dist/build/Text/Email/Validate.o )
Text/Email/Validate.hs:11:8:
Could not find module `Text.Parsec.Char':
Perhaps you haven't installed the profiling libraries for package `parsec-3.1.1'?
Use -v to see a list of the files searched for.
Configuring enumerator-0.4.18...
Preprocessing library enumerator-0.4.18...
Building enumerator-0.4.18...
[ 1 of 10] Compiling Data.Enumerator.Util ( lib/Data/Enumerator/Util.hs, dist/build/Data/Enumerator/Util.o )
[ 2 of 10] Compiling Data.Enumerator.Internal ( lib/Data/Enumerator/Internal.hs, dist/build/Data/Enumerator/Internal.o )
[ 3 of 10] Compiling Data.Enumerator.List[boot] ( lib/Data/Enumerator/List.hs-boot, dist/build/Data/Enumerator/List.o-boot )
[ 4 of 10] Compiling Data.Enumerator.Compatibility ( lib/Data/Enumerator/Compatibility.hs, dist/build/Data/Enumerator/Compatibility.o )
[ 5 of 10] Compiling Data.Enumerator ( lib/Data/Enumerator.hs, dist/build/Data/Enumerator.o )
lib/Data/Enumerator.hs:63:11:
Warning: `Enumerator' is exported by `module Data.Enumerator.Internal' and `Enumerator'
lib/Data/Enumerator.hs:63:11:
Warning: `Iteratee' is exported by `module Data.Enumerator.Internal' and `Iteratee'
lib/Data/Enumerator.hs:63:11:
Warning: `Enumeratee' is exported by `module Data.Enumerator.Internal' and `Enumeratee'
lib/Data/Enumerator.hs:63:11:
Warning: `>>==' is exported by `module Data.Enumerator.Internal' and `(>>==)'
lib/Data/Enumerator.hs:63:11:
Warning: `==<<' is exported by `module Data.Enumerator.Internal' and `(==<<)'
lib/Data/Enumerator.hs:63:11:
Warning: `$$' is exported by `module Data.Enumerator.Internal' and `($$)'
lib/Data/Enumerator.hs:63:11:
Warning: `>==>' is exported by `module Data.Enumerator.Internal' and `(>==>)'
lib/Data/Enumerator.hs:63:11:
Warning: `<==<' is exported by `module Data.Enumerator.Internal' and `(<==<)'
[ 6 of 10] Compiling Data.Enumerator.List ( lib/Data/Enumerator/List.hs, dist/build/Data/Enumerator/List.o )
[ 7 of 10] Compiling Data.Enumerator.Binary ( lib/Data/Enumerator/Binary.hs, dist/build/Data/Enumerator/Binary.o )
lib/Data/Enumerator/Binary.hs:721:25:
Warning: This binding for `eof' shadows the existing binding
bound at lib/Data/Enumerator/Binary.hs:716:29
lib/Data/Enumerator/Binary.hs:788:17:
Warning: This binding for `rem' shadows the existing binding
imported from Prelude at lib/Data/Enumerator/Binary.hs:98:1-92
[ 8 of 10] Compiling Data.Enumerator.IO ( lib/Data/Enumerator/IO.hs, dist/build/Data/Enumerator/IO.o )
[ 9 of 10] Compiling Data.Enumerator.Text ( lib/Data/Enumerator/Text.hs, dist/build/Data/Enumerator/Text.o )
SpecConstr
Function `$j_sn5C{v} [lid]'
has five call patterns, but the limit is 3
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
lib/Data/Enumerator/Text.hs:744:25:
Warning: This binding for `eof' shadows the existing binding
bound at lib/Data/Enumerator/Text.hs:739:29
[10 of 10] Compiling Data.Enumerator.Trans ( lib/Data/Enumerator/Trans.hs, dist/build/Data/Enumerator/Trans.o )
lib/Data/Enumerator.hs:80:18:
Could not find module `Data.Functor.Identity':
Perhaps you haven't installed the profiling libraries for package `transformers-0.2.2.0'?
Use -v to see a list of the files searched for.
Configuring shakespeare-0.10.2...
Preprocessing library shakespeare-0.10.2...
Building shakespeare-0.10.2...
[1 of 2] Compiling Text.Shakespeare.Base ( Text/Shakespeare/Base.hs, dist/build/Text/Shakespeare/Base.o )
[2 of 2] Compiling Text.Shakespeare ( Text/Shakespeare.hs, dist/build/Text/Shakespeare.o )
Text/Shakespeare.hs:20:8:
Could not find module `Text.ParserCombinators.Parsec':
Perhaps you haven't installed the profiling libraries for package `parsec-3.1.1'?
Use -v to see a list of the files searched for.
Configuring simple-sendfile-0.2.0...
Preprocessing library simple-sendfile-0.2.0...
Building simple-sendfile-0.2.0...
[1 of 3] Compiling Network.Sendfile.Types ( Network/Sendfile/Types.hs, dist/build/Network/Sendfile/Types.o )
[2 of 3] Compiling Network.Sendfile.MacOS ( dist/build/Network/Sendfile/MacOS.hs, dist/build/Network/Sendfile/MacOS.o )
[3 of 3] Compiling Network.Sendfile ( Network/Sendfile.hs, dist/build/Network/Sendfile.o )
Network/Sendfile/MacOS.hsc:19:8:
Could not find module `Network.Socket':
Perhaps you haven't installed the profiling libraries for package `network-2.3.0.2'?
Use -v to see a list of the files searched for.
Configuring transformers-base-0.4.1...
Preprocessing library transformers-base-0.4.1...
Building transformers-base-0.4.1...
[1 of 1] Compiling Control.Monad.Base ( src/Control/Monad/Base.hs, dist/build/Control/Monad/Base.o )
src/Control/Monad/Base.hs:63:10:
Warning: orphan instance: instance Applicative (L.ST s)
src/Control/Monad/Base.hs:67:10:
Warning: orphan instance: instance Applicative (S.ST s)
src/Control/Monad/Base.hs:28:8:
Could not find module `Control.Monad.Trans.Cont':
Perhaps you haven't installed the profiling libraries for package `transformers-0.2.2.0'?
Use -v to see a list of the files searched for.
Configuring xss-sanitize-0.3.1...
Preprocessing library xss-sanitize-0.3.1...
Preprocessing test suites for xss-sanitize-0.3.1...
Building xss-sanitize-0.3.1...
[1 of 2] Compiling Text.HTML.SanitizeXSS.Css ( Text/HTML/SanitizeXSS/Css.hs, dist/build/Text/HTML/SanitizeXSS/Css.o )
[2 of 2] Compiling Text.HTML.SanitizeXSS ( Text/HTML/SanitizeXSS.hs, dist/build/Text/HTML/SanitizeXSS.o )
Text/HTML/SanitizeXSS.hs:19:8:
Could not find module `Network.URI':
Perhaps you haven't installed the profiling libraries for package `network-2.3.0.2'?
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
aeson-0.5.0.0 failed during the building phase. The exception was:
ExitFailure 1
asn1-data-0.6.1.2 depends on enumerator-0.4.18 which failed to install.
attoparsec-enumerator-0.3 depends on enumerator-0.4.18 which failed to
install.
authenticate-0.10.4 depends on transformers-base-0.4.1 which failed to
install.
blaze-builder-enumerator-0.2.0.3 depends on enumerator-0.4.18 which failed to
install.
certificate-1.0.1 depends on enumerator-0.4.18 which failed to install.
conduit-0.0.4 depends on transformers-base-0.4.1 which failed to install.
control-monad-attempt-0.3.0.1 failed during the building phase. The exception
was:
ExitFailure 1
data-object-yaml-0.3.4 depends on transformers-base-0.4.1 which failed to
install.
email-validate-0.2.7 failed during the building phase. The exception was:
ExitFailure 1
enumerator-0.4.18 failed during the building phase. The exception was:
ExitFailure 1
hamlet-0.10.7.1 depends on shakespeare-0.10.2 which failed to install.
http-enumerator-0.7.2.5 depends on transformers-base-0.4.1 which failed to
install.
lifted-base-0.1.0.2 depends on transformers-base-0.4.1 which failed to
install.
monad-control-0.3.1 depends on transformers-base-0.4.1 which failed to
install.
persistent-0.6.4.4 depends on transformers-base-0.4.1 which failed to install.
persistent-template-0.6.3.1 depends on transformers-base-0.4.1 which failed to
install.
pool-0.1.2 depends on transformers-base-0.4.1 which failed to install.
shakespeare-0.10.2 failed during the building phase. The exception was:
ExitFailure 1
shakespeare-css-0.10.6 depends on shakespeare-0.10.2 which failed to install.
shakespeare-i18n-0.0.0 depends on shakespeare-0.10.2 which failed to install.
shakespeare-js-0.10.4 depends on shakespeare-0.10.2 which failed to install.
shakespeare-text-0.10.3 depends on shakespeare-0.10.2 which failed to install.
simple-sendfile-0.2.0 failed during the building phase. The exception was:
ExitFailure 1
tls-0.8.5 depends on enumerator-0.4.18 which failed to install.
tls-extra-0.4.2 depends on enumerator-0.4.18 which failed to install.
transformers-base-0.4.1 failed during the building phase. The exception was:
ExitFailure 1
wai-0.4.3 depends on enumerator-0.4.18 which failed to install.
wai-extra-0.4.6 depends on enumerator-0.4.18 which failed to install.
wai-logger-0.1.2 depends on enumerator-0.4.18 which failed to install.
warp-0.4.6.3 depends on simple-sendfile-0.2.0 which failed to install.
xml-enumerator-0.4.4.1 depends on enumerator-0.4.18 which failed to install.
xss-sanitize-0.3.1 failed during the building phase. The exception was:
ExitFailure 1
yaml-0.5.1.2 depends on transformers-base-0.4.1 which failed to install.
yesod-0.9.4.1 depends on xss-sanitize-0.3.1 which failed to install.
yesod-auth-0.7.9 depends on xss-sanitize-0.3.1 which failed to install.
yesod-core-0.9.4.1 depends on transformers-base-0.4.1 which failed to install.
yesod-form-0.3.4.2 depends on xss-sanitize-0.3.1 which failed to install.
yesod-json-0.2.3 depends on transformers-base-0.4.1 which failed to install.
yesod-persistent-0.2.2 depends on transformers-base-0.4.1 which failed to
install.
zlib-enum-0.2.1 depends on enumerator-0.4.18 which failed to install.
最佳答案
您正在尝试使用分析库构建 Yesod 及其所有依赖项,但您已安装的现有软件包(mtl、parsec 等)没有安装分析库。如果要编译带有分析库的包,则其所有依赖项也必须安装分析库。据推测,您在安装软件包后的某个时刻在 ~/.cabal/config
中打开了分析。
一种解决方案是显式cabal install --reinstall
它所提示的每个包,但cabal install --reinstall world
可能更容易(或者保存您的~/.cabal/config
,rm -r ~/.cabal ~/.ghc
并重新开始)。
如果您不太关心分析库,只需注释掉 ~/.cabal/config
中的 library-profiling: True
行即可。
关于macos - 无法在 Mac OSX 上安装 Yesod Haskell Web 框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8954566/
我通过 spring ioc 编写了一些 Rest 应用程序。但我无法解决这个问题。这是我的异常(exception): org.springframework.beans.factory.BeanC
我对 TestNG、Spring 框架等完全陌生,我正在尝试使用注释 @Value通过 @Configuration 访问配置文件注释。 我在这里想要实现的目标是让控制台从配置文件中写出“hi”,通过
为此工作了几个小时。我完全被难住了。 这是 CS113 的实验室。 如果用户在程序(二进制计算器)结束时选择继续,我们需要使用 goto 语句来到达程序的顶部。 但是,我们还需要释放所有分配的内存。
我正在尝试使用 ffmpeg 库构建一个小的 C 程序。但是我什至无法使用 avformat_open_input() 打开音频文件设置检查错误代码的函数后,我得到以下输出: Error code:
使用 Spring Initializer 创建一个简单的 Spring boot。我只在可用选项下选择 DevTools。 创建项目后,无需对其进行任何更改,即可正常运行程序。 现在,当我尝试在项目
所以我只是在 Mac OS X 中通过 brew 安装了 qt。但是它无法链接它。当我尝试运行 brew link qt 或 brew link --overwrite qt 我得到以下信息: ton
我在提交和 pull 时遇到了问题:在提交的 IDE 中,我看到: warning not all local changes may be shown due to an error: unable
我跑 man gcc | grep "-L" 我明白了 Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more inf
我有一段代码,旨在接收任何 URL 并将其从网络上撕下来。到目前为止,它运行良好,直到有人给了它这个 URL: http://www.aspensurgical.com/static/images/a
在过去的 5 个小时里,我一直在尝试在我的服务器上设置 WireGuard,但在完成所有设置后,我无法 ping IP 或解析域。 下面是服务器配置 [Interface] Address = 10.
我正在尝试在 GitLab 中 fork 我的一个私有(private)项目,但是当我按下 fork 按钮时,我会收到以下信息: No available namespaces to fork the
我这里遇到了一些问题。我是 node.js 和 Rest API 的新手,但我正在尝试自学。我制作了 REST API,使用 MongoDB 与我的数据库进行通信,我使用 Postman 来测试我的路
下面的代码在控制台中给出以下消息: Uncaught DOMException: Failed to execute 'appendChild' on 'Node': The new child el
我正在尝试调用一个新端点来显示数据,我意识到在上一组有效的数据中,它在数据周围用一对额外的“[]”括号进行控制台,我认为这就是问题是,而新端点不会以我使用数据的方式产生它! 这是 NgFor 失败的原
我正在尝试将我的 Symfony2 应用程序部署到我的 Azure Web 应用程序,但遇到了一些麻烦。 推送到远程时,我在终端中收到以下消息 remote: Updating branch 'mas
Minikube已启动并正在运行,没有任何错误,但是我无法 curl IP。我在这里遵循:https://docs.traefik.io/user-guide/kubernetes/,似乎没有提到关闭
每当我尝试docker组成任何项目时,都会出现以下错误。 我尝试过有和没有sudo 我在这台机器上只有这个问题。我可以在Mac和Amazon WorkSpace上运行相同的容器。 (myslabs)
我正在尝试 pip install stanza 并收到此消息: ERROR: No matching distribution found for torch>=1.3.0 (from stanza
DNS 解析看起来不错,但我无法 ping 我的服务。可能是什么原因? 来自集群中的另一个 Pod: $ ping backend PING backend.default.svc.cluster.l
我正在使用Hibernate 4 + Spring MVC 4当我开始 Apache Tomcat Server 8我收到此错误: Error creating bean with name 'wel
我是一名优秀的程序员,十分优秀!