0
雖然在OSX小牛安裝耶索德,與XCode5和鏗鏘的包裝,我對這個錯誤炮轟:安裝耶索德
Network/Wai/Middleware/RequestLogger.hs:166:1:
parse error on input `*'
Failed to install wai-extra-1.3.4.5
Updating documentation index
/Users/alexanderventura/Library/Haskell/doc/index.html
cabal: Error: some packages failed to install:
wai-extra-1.3.4.5 failed during the building phase. The exception was:
ExitFailure 1
任何想法,爲什麼會發生?我一直試圖安裝Yesod幾個小時,但沒有成功!
更新
安裝gcc4.8,並用它來代替鐺後,我才得以擺脫這個問題。
不幸的是,我遇到了另一個問題
lookupSymbol failed in relocateSection (relocate external)
/Users/alexanderventura/Library/Haskell/ghc-7.6.3/lib/http-attoparsec-0.1.0/lib/HShttp- attoparsec-0.1.0.o: unknown symbol `_httpzmtypeszm0zi8zi2_NetworkziHTTPziTypesziHeader_ByteRangeSuffix_con_info'
ghc: unable to load package `http-attoparsec-0.1.0'
Failed to install yesod-core-1.2.4.2
任何想法,以什麼可能會發生?安裝Yesod已經遭受酷刑!
在Github的https://github.com/yesodweb/wai/blob/master/wai-extra/Network/Wai/Middleware/RequestLogger.hs中查看RequestLogger.hs的源代碼後,我相信這有有些不好的預處理。 –