Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.7k views
in Technique[技术] by (71.8m points)

haskell - MacOSX - cabal install: built failed during the building phase. The exception was: ExitFailure 1 - dist/package.conf.inplace: inappropriate type

using cabal; came accross this error.

did cabal install and this happened.

failed during the building phase. The exception was: ExitFailure 1

checked my log; it said:

dist/package.conf.inplace: inappropriate type

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...