首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用fay的cabal安装问题

使用fay的cabal安装问题
EN

Stack Overflow用户
提问于 2013-02-17 13:26:02
回答 1查看 276关注 0票数 0

我正在尝试运行cabal install fay fay-base。但是,我得到以下错误:

代码语言:javascript
复制
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。但是,我得到以下错误:

代码语言:javascript
复制
/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解决了这个问题。

提前感谢!

EN

回答 1

Stack Overflow用户

发布于 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部分。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14918257

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档