我想运行cabal install fay fay-base
。不过,我得到以下错误:cabal安装麻烦用fay
src/Test/CommandLine.hs:18:9:
Dynamic linking required, but this is a non-standard build (eg. prof).
You need to build the program twice: once the normal way, and then
in the desired way using -osuf to set the object file suffix.
cabal: Error: some packages failed to install:
fay-0.14.1.0 failed during the building phase. The exception was:
ExitFailure 1
fay-base-0.14.1.0 depends on fay-0.14.1.0 which failed to install.
我不知道它是什么问我时,问我“安装一次正常的方式,然后在需要的方式”做。
任何想法?
原贴:
我试图运行cabal install fay fay-base
。不过,我得到以下错误:
/usr/bin/ld: cannot find -lHSsplit-0.2.1.1-ghc7.4.1
collect2: ld returned 1 exit status
cabal: Error: some packages failed to install:
fay-0.14.1.0 failed during the building phase. The exception was:
ExitFailure 1
fay-base-0.14.1.0 depends on fay-0.14.1.0 which failed to install.
我已经收到了另一个包这个错误安装,但我不记得是哪一个(我相信这是游戏的包装之一,所以它更容易放弃)。我试着用google搜索-lHSsplit并一直无法找到任何帮助。
有谁知道我需要安装什么依赖项?
这是通过安装Daniel Fischer建议的拆分cabal install split
解决的。
在此先感谢!
你在使用什么操作系统?还cabal/ghc版本? – Attic 2013-02-17 11:58:30
'fay'依赖于'split',并且链接程序找不到该库。你可以验证你有吗(可能在'〜/ .cabal/lib/split-0.2.1.1'中)?你可以尝试以更高的冗长度安装'fay'('-v3'给你很多输出,其中包括用于调用GHC的命令行),这可能会告诉某人究竟出了什么问题。 – 2013-02-17 14:17:04
安装拆分允许我进一步。但是,我现在在我的编辑上面发布了错误。 – Joe 2013-02-17 17:15:31