为Haskell安装Yesod时出现问题 [英] Problems installing Yesod for Haskell
本文介绍了为Haskell安装Yesod时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图按照本指南安装Haskell和Yesod for Mac 。一切都很顺利,直到最后一步,当我收到此错误消息。我试着手动安装 hfsevebts-0.1.4
,但它给了我同样的错误。
I'm trying to install Haskell and Yesod for Mac following this guide. Everything goes fine until the last step, when I receive this error message. I've tried to manually install the hfsevebts-0.1.4
but it gives me the same error.
gcc-4.8: error: language objective-c not recognized
gcc-4.8: error: language objective-c not recognized
cabal: Error: some packages failed to install:
fsnotify-0.0.11 depends on hfsevents-0.1.4 which failed to install.
hfsevents-0.1.4 failed during the building phase. The exception was:
ExitFailure 1
yesod-bin-1.2.3.4 depends on hfsevents-0.1.4 which failed to install.
如何安装Yesod?
How shall I proceed in order to install Yesod?
推荐答案
我认为这为我解决了这个问题:
I think this fixed it for me:
$ brew uninstall gcc48
$ brew install gcc48 --enable-all-languages
假定默认的gcc48不包含Objective-C。
Presumably the default gcc48 doesn't include Objective-C.
这篇关于为Haskell安装Yesod时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文