首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >怎样才能让cabal安装acid-state?

怎样才能让cabal安装acid-state?
EN

Stack Overflow用户
提问于 2012-09-14 07:27:29
回答 1查看 188关注 0票数 3

我是Haskell的新手,我想尝试一下acid状态库,但在尝试安装它时得到了以下输出:

代码语言:javascript
复制
>cabal install acid-state
Resolving dependencies...
Configuring acid-state-0.7.5...
Building acid-state-0.7.5...
Preprocessing library acid-state-0.7.5...
[ 1 of 15] Compiling Data.Acid.CRC    ( src\Data\Acid\CRC.hs, dist\build\Data\Ac
id\CRC.o )
[ 2 of 15] Compiling Paths_acid_state ( dist\build\autogen\Paths_acid_state.hs,
dist\build\Paths_acid_state.o )
[ 3 of 15] Compiling Data.Acid.Archive ( src\Data\Acid\Archive.hs, dist\build\Da
ta\Acid\Archive.o )
[ 4 of 15] Compiling FileIO           ( src-win32\FileIO.hs, dist\build\FileIO.o
 )

src-win32\FileIO.hs:43:5:
    Not in scope: `catchIO'
    Perhaps you meant `catch' (imported from Prelude)

src-win32\FileIO.hs:55:6:
    Not in scope: `tryE'
    Perhaps you meant `try' (imported from Control.Exception.Extensible)

src-win32\FileIO.hs:56:6:
    Not in scope: `tryE'
    Perhaps you meant `try' (imported from Control.Exception.Extensible)
cabal: Error: some packages failed to install:
acid-state-0.7.5 failed during the building phase. The exception was:
ExitFailure 1

谢谢!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-09-14 12:29:29

我刚刚遇到了同样的问题。临时解决方法:安装较旧版本的acid-state

代码语言:javascript
复制
cabal install acid-state-0.7.0
票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12416201

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档