我怎样才能让cabal安装酸性状态? [英] How can I get cabal to install acid-state?

查看:182
本文介绍了我怎样才能让cabal安装酸性状态?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I'm a newbie to Haskell, and wanted to try the acid-state library, but I get the following output when trying to install it:

>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

谢谢!

推荐答案

我刚碰到同样的问题。临时解决方法:安装较旧版本的酸性状态

I just ran into the same problem. Temporary workaround: install an older version of acid-state

cabal install acid-state-0.7.0

这篇关于我怎样才能让cabal安装酸性状态?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆