首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我该怎么安装fay?

我该怎么安装fay?
EN

Stack Overflow用户
提问于 2014-05-13 02:07:27
回答 1查看 231关注 0票数 1

我运行的是ubuntu 13.10,安装fay有困难。我使用sudo apt-get install haskell-platform安装了haskell。我尝试cabal install fay并收到以下消息:

代码语言:javascript
复制
$ cabal install fay
Resolving dependencies...
Configuring type-eq-0.4.2...
cabal: The program cpphs is required but it could not be found.
Failed to install type-eq-0.4.2
cabal: Error: some packages failed to install:
fay-0.20.0.0 depends on type-eq-0.4.2 which failed to install.
haskell-names-0.3.3.2 depends on type-eq-0.4.2 which failed to install.
type-eq-0.4.2 failed during the configure step. The exception was:
ExitFailure 1

我试过安装cpphs,但我已经安装了它。

代码语言:javascript
复制
$ cabal install cpphs
Resolving dependencies...
All the requested packages are already installed:
cpphs-1.18.4
Use --reinstall if you want to reinstall anyway.

最后,我尝试了自己安装type-eq,并期望它依赖于cpphs

代码语言:javascript
复制
$ cabal install type-eq
Resolving dependencies...
Configuring type-eq-0.4.2...
cabal: The program cpphs is required but it could not be found.
Failed to install type-eq-0.4.2
cabal: Error: some packages failed to install:
type-eq-0.4.2 failed during the configure step. The exception was:
ExitFailure 1

我该怎么办?提前谢谢你的帮助。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-05-13 04:17:41

根据对原帖子的评论:

  1. cabal抱怨找不到已经安装的cpphs
  2. which cpphs说找不到命令
  3. 这意味着cpphs不在shell的搜索路径中。
  4. ~/.cabal/bin添加到PATH可用于解决此问题
票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23621736

复制
相关文章

相似问题

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