第一次安装 Snap 时收到以下错误。我试过先安装抢劫但得到同样的错误。我正在使用 Ubuntu 12.04 32 位桌面(全新安装)和 ghc 7.4.1。
其他人得到这个错误吗?解决方案?谢谢。
[18 of 29] Compiling Snap.Snaplet.HeistNoClass ( src/Snap/Snaplet/HeistNoClass.hs, dist/build/Snap/Snaplet/HeistNoClass.o )
src/Snap/Snaplet/HeistNoClass.hs:195:32:
Couldn't match expected type `n0 (Either e'0 b0)'
with actual type `Text'
Expected type: String -> n0 (Either e'0 b0)
Actual type: String -> Text
In the first argument of `(.)', namely `T.pack'
In the first argument of `mapEitherT', namely
`(T.pack . intercalate "")'
cabal: Error: some packages failed to install:
sample1-0.1 depends on snap-0.10.0.1 which failed to install.
snap-0.10.0.1 failed during the building phase. The exception was:
ExitFailure 1
snaplet-sqlite-simple-0.4.0 depends on snap-0.10.0.1 which failed to install.