我正在尝试运行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,但找不到任何帮助。
有人知道我需要安装什么依赖项吗?
按照Daniel Fischer的建议,安装split cabal install split解决了这个问题。
提前感谢!
发布于 2013-02-17 20:12:49
我用ghc 7.4.2在Arch上安装了它,不确定你使用的是什么操作系统,但如果你使用的是GNU/Linux (或不是),那么尝试升级到7.4.2并尝试全新安装fay / fay-base。
如果您还没有尝试过cabal dev,那么您可能想尝试一下,下面是如何做的:https://github.com/faylang/fay/wiki/Installing-and-running
稍微向下滚动到cabal-dev部分。
https://stackoverflow.com/questions/14918257
复制相似问题