我正在尝试运行cabal install fay fay-base
。但是,我收到以下错误:
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.
我在另一个包安装时收到了这个错误,但我不记得是哪个(我相信它是游戏包之一,所以更容易放弃)。我试过用谷歌搜索 -lHSsplit 并且找不到任何帮助。
有谁知道我需要安装什么依赖项?
cabal install split
这已通过按照 Daniel Fischer 的建议安装 split 来解决。
提前致谢!