1
出小集團安裝錯誤安裝陰謀-install命令我收到以下錯誤陰謀安裝使用Linux版本(CentOS 6.6)。當我嘗試運行小集團上午在Linux上
cabal: cannot configure unix-2.7.0.1. It requires base >=4.5 && <4.8
For the dependency on base >=4.5 && <4.8 there are these packages:
base-4.5.0.0, base-4.5.1.0, base-4.6.0.0, base-4.6.0.1, base-4.7.0.0 and
base-4.7.0.1. However none of them are available.
base-4.5.0.0 was excluded because base-4.3.1.0 was selected instead
base-4.5.0.0 was excluded because of the top level dependency base -any
base-4.5.1.0 was excluded because base-4.3.1.0 was selected instead
base-4.5.1.0 was excluded because of the top level dependency base -any
base-4.6.0.0 was excluded because base-4.3.1.0 was selected instead
base-4.6.0.0 was excluded because of the top level dependency base -any
base-4.6.0.1 was excluded because base-4.3.1.0 was selected instead
base-4.6.0.1 was excluded because of the top level dependency base -any
base-4.7.0.0 was excluded because base-4.3.1.0 was selected instead
base-4.7.0.0 was excluded because of the top level dependency base -any
base-4.7.0.1 was excluded because base-4.3.1.0 was selected instead
base-4.7.0.1 was excluded because of the top level dependency base -any
注:caball安裝版本0.10。 2 使用驚天動地庫1.10.2.0版本
GHC版本7.0.4
哈斯克爾平臺,2011.4.0.0-6.el6.x86_64
如何解決it.pls幫助!
那些版本很古老。你可能想重新安裝cabal/ghc。 – Zeta 2014-11-24 10:53:49
你可以給我一個鏈接下載最新版本。如果我嘗試下載這些文件,使用yum install命令只能獲取較舊的版本。我應該更新存儲庫還是應該怎麼做才能解決這些依賴性問題? – vidhya 2014-11-24 11:03:45
我建議看看:https://github.com/bitemyapp/learnhaskell#getting-started https://github.com/fpco/stackage/wiki/Preparing-your-system-to-use-Stackage#other -linux – 2014-11-24 12:12:00