2017-07-14 9 views
7

एक परियोजना है कि पहले से ही स्थापित किया गया है 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 

ढेर pacman द्वारा स्थापित किया गया था ढेर में परिणाम का निर्माण। संस्करण 1.4.0 x86_64, प्रोजेक्ट रिज़ॉल्वर का उपयोग कर रहा है: lts-8.21

+2

मैं इस मुद्दे को इस बात की पुष्टि कर सकते हैं। –

+0

मैं यह भी पुष्टि करता हूं। यहां तक ​​कि प्रणाली विस्तृत GHC cound't पाया जा – WellTyped

+0

तो निराशा होती है, एक पूरे दिन खो गया है। मैंने सिस्टम-ghc विकल्प का उपयोग करने की कोशिश की है, लिंकर इरॉस के बहुत सारे ... – WellTyped

उत्तर

8

यह समस्या अपस्ट्रीम ज्ञात है। (https://github.com/commercialhaskell/stack/issues/3268)। के रूप में इस मुद्दे में सुझाव दिया, AUR से libtinfo स्थापित करने में मदद करता है, के बाद से वहाँ GHC के tinfo-nopie bindist है। मैं अभी तक समस्याओं TimoFreiberg द्वारा रिपोर्ट इस मुद्दे रिपोर्ट में (जो एक ncurses6-nopie bindist प्रदान करने पर काम कर रहा है) में चलाने नहीं किया है।

+1

'ncurses5-compat-libs' के रूप में ओएस कुंजी के साथ भी आवश्यक – osager

+1

केवल स्थापित करने' ncurses5-compat-libs' मेरे लिए यह किया है। – tuxayo

संबंधित मुद्दे