繁体   English   中英

Haskell堆栈找不到安装的ghc

[英]Haskell stack cant find installed ghc

已经建立的项目无法找到GHC。 堆栈构建导致:

No compiler found, expected minor version match with ghc-8.0.2 (x86_64-ncurses6-nopie)
(based on resolver setting in /home/iam/Work/has/grove/stack.yaml).
To install the correct GHC into /home/iam/.stack/programs/x86_64-linux/, try running "stack
setup" or use the "--install-ghc" flag. To use your system GHC installation,
run "stack config set system-ghc --global true", or use the "--system-ghc" flag.

堆栈设置导致:

Unable to find installation URLs for OS key: linux64-ncurses6-nopie
However, in .stack-work, in the install file there is a folder called x86_64-linux-ncurses6,
not linux64-ncurses6-nopie

Stack由pacman安装。 版本1.4.0 x86_64,该项目使用解析器:lts-8.21

这个问题在上游已知。 https://github.com/commercialhaskell/stack/issues/3268 )。 正如本期所述,从AUR安装libtinfo会有所帮助,因为有一个GHC的tinfo-nopie绑定器。 我还没有遇到TimoFreiberg(他正在努力提供ncurses6-nopie绑定器)报告的问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM