2017-07-14 37 views
7

Projekt, który został już skonfigurowany, nie może znaleźć GHC. Stos zbudować wyniki:Stos Haskell nie można znaleźć zainstalowany 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. 

wyników konfiguracji stosu w:

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 

Stos został zainstalowany przez Pacman. Wersja 1.4.0 x86_64, projekt korzysta z przelicznika: lts-8.21

+2

Mogę potwierdzić ten problem. –

+0

Ja również to potwierdzam. Nawet szeroki system nie może być znaleziony – WellTyped

+0

Tak frustrujący, że cały dzień został utracony. Próbowałem użyć opcji system-ghc, wiele erra Linkera ... – WellTyped

Odpowiedz

8

Ten numer jest znany wcześniej. (https://github.com/commercialhaskell/stack/issues/3268). Jak zasugerowano w tym wydaniu, instalowanie libtinfo z AUR pomaga, ponieważ istnieje wiązanie GHC tinfo-nopie. Nie znalazłem jeszcze problemów zgłaszanych przez TimoFreiberga (który pracuje nad udostępnianiem bindera ncurses6-nopie) w tym raporcie o problemie.

+1

'ncurses5-compat-libs' jest również konieczna – osager

+1

Tylko instalowanie' ncurses5-compat-libs' zrobiło to za mnie. – tuxayo

Powiązane problemy