易未能安装

And*_*yuk 10 haskell

很想尝试Yi编辑器,但不幸的是,它在安装过程中一直没能失败.

首先我得到:

> cabal install yi
haskell-src-exts-1.13.0 failed during the configure step. The exception was:
ExitFailure 1
yi-0.6.5.0 depends on haskell-src-exts-1.13.0 which failed to install.
Run Code Online (Sandbox Code Playgroud)

然后当我尝试安装时,haskell-src-exts我被这个难过:

setup: The program happy version >=1.17 is required but it could not be found.
cabal: Error: some packages failed to install:
haskell-src-exts-1.13.0 failed during the configure step. The exception was:
ExitFailure 1
Run Code Online (Sandbox Code Playgroud)

安装快乐cabal install happy(版本1.18.9)没有帮助,因为它仍然产生上述错误!

我试图在ArchLinux上进行此操作.此外,Windows安装也不起作用.

有任何想法吗?

gee*_*aur 17

cabal安装程序~/.cabal/bin(在Unix上;不知道Windows),如果它们尚未安装,并且不会警告您将其添加到您的$PATH; 它(除非你有最新的未发布的版本,从它的repo构建)不知道它已经这样做了,因为它只跟踪库,而不是可执行文件.您需要手动添加$HOME/.cabal/bin到您的位置$PATH才能找到它

(编辑迂腐)


Kat*_*one 5

在ubuntu上我安装了使用apt-get而不是通过cabal,这很有效.