我似乎无法在我的 Mac (10.6.8) 上安装一些 Haskell 包。我首先尝试了 Happstack,但失败了,然后我尝试了 Snap。
有时当我运行 ghci 时会出现分段错误。
其他时候它可以工作并且是这样的:
GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude>
尝试获取 Snap 时:
....
....
....
Loading package vector-0.10.0.1 ... linking ... done.
Loading package zlib-0.5.4.0 ... linking ... done.
Loading package zlib-bindings-0.1.1.3 ... linking ... done.
Loading package zlib-enum-0.2.3 ... linking ... done.
Loading package snap-core-0.9.3.1 ... linking ... done.
Loading package snap-server-0.9.3.3 ... linking ... done.
Loading package directory-tree-0.11.0 ... linking ... done.
cabal: Error: some packages failed to install:
snap-0.11.2 failed during the building phase. The exception was:
ExitFailure 11
我已经多次看到这个问题,但没有什么能真正为我解决这个问题。有任何想法吗?