当您尝试安装库reactie-banana-wx时,会收到以下错误:
src\CRUD.hs:10:18: Could not find module `Data.Map': It is a member of the hidden package `containers-0.4.0.0'. Perhaps you need to add `containers' to the build-depends in your .cabal file.已安装命令:
cabal install reactive-banana-wx请帮助更正此问题。
发布于 2011-09-17 22:31:24
它提供的建议是合理的,尽管有点令人困惑:cabal install隐藏了生成.cabal文件的步骤!下面是你如何显式地完成这一部分:
cabal unpack reactive-banana-wx
cd reactive-banana-wx-*
gvim *.cabal # or whatever editor you prefer
# follow the instructions given in the error
cabal installhttps://stackoverflow.com/questions/7455199
复制相似问题