在配置步骤

时间:2015-04-25 15:52:07

标签: haskell cabal

cabal install hedis

由于其依赖性而失败 - bytestring-lexing未安装。错误消息是,

bytestring-lexing-0.4.3.2 failed during the configure step. The exception was:
ExitFailure 1
hedis-0.6.5 depends on bytestring-lexing-0.4.3.2 which failed to install.

为了说明此软件包失败的原因,我使用此命令对bytestring-lexing的本地安装进行了grep-ed,

 ghc-pkg field bytestring-lexing depends                                                                                                   

但是没有本地包,

ghc-pkg: cannot find package bytestring-lexing

现在不是版本冲突,还有什么可能导致此错误?

1 个答案:

答案 0 :(得分:0)

错误消息只是表明它无法找到包bytestring-lexing。所以首先尝试安装该软件包:

cabal install bytestring-lexing

然后再次尝试安装hedis