我是 Haskell 的新手,想尝试酸性状态库,但在尝试安装它时得到以下输出:
>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
Thanks!
我刚刚遇到了同样的问题。临时解决方法:安装旧版本的acid-state
cabal install acid-state-0.7.0
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)