本文介绍了MacOSX - cabal install:在构建阶段内置失败。例外情况是:ExitFailure 1 - dist / package.conf.inplace:不恰当的类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用cabal;发生此错误。



完成了 cabal install 发生

检查了我的日志;

我有 0个想法发生了什么。 cabal build 可以工作。 #STRANGE

目前:



CABAL版本:1.22.0.0。 Glorious Glasgow Haskell编译版本:7.8.4


解决方案

可能的解释:您已将GHC升级到7.10,我收集,但不升级cabal安装。如果出现这个问题,请运行

  cabal install cabal-install -w ghc-7.8.4#或任何其他版本的GHC你有

可以解决问题。


using cabal; came accross this error.

did cabal install and this happened.

checked my log; it said:

I have 0 ideas what's going on. cabal build works though. #STRANGE

CURRENTLY:

CABAL version: 1.22.0.0. Glorious Glasgow Haskell Compilation version: 7.8.4

解决方案

Possible explanation: you have upgraded GHC to 7.10, which does things a bit differently I gather, but not upgraded cabal-install. If this is the problem, running

cabal install cabal-install -w ghc-7.8.4 # or whatever other version of GHC you have

may fix the problem.

这篇关于MacOSX - cabal install:在构建阶段内置失败。例外情况是:ExitFailure 1 - dist / package.conf.inplace:不恰当的类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 07:02