cabal install cabal-install errors out on linux

后端 未结 1 1714
余生分开走
余生分开走 2021-01-23 09:11

Am using linux (centos 6.6).When I try to run cabal install cabal-install command am getting following errors

cabal: cannot configure unix-2.7.0.1. It requires b         


        
相关标签:
1条回答
  • 2021-01-23 09:35

    This issue is because of an old version of ghc-7.0.4.I downloaded ghc 7.8.3 source tarball from here and installed it.

    Then ghc 7.8.3 had old version of cabal so, have to unregister it from ghc 7.8.3 using ghc unregister Cabal .

    Then run bootstrap.sh from cabal-install-1.20 folder and got cabal-install 1.20 successfully.

    0 讨论(0)
提交回复
热议问题