Installation

如何在 FreeBSD 上安裝“Happstack”?

  • February 28, 2011

我整天都在嘗試在我的 FreeBSD 機器上安裝 Happstack。最後我安裝了 GHC 6.10.x。和陰謀集團 0.8.2。但在 Happstack 上失敗了。這些都是錯誤。

%sudo ~/.cabal/bin/cabal install happstack
Resolving dependencies...
cabal: cannot configure unix-2.4.1.0. It requires base >=4.2 && <4.4
For the dependency on base >=4.2 && <4.4 there are these packages:
base-4.2.0.0, base-4.2.0.1, base-4.2.0.2 and base-4.3.0.0. However none of
them are available.
base-4.2.0.0 was excluded because of the top level dependency base -any
base-4.2.0.1 was excluded because of the top level dependency base -any
base-4.2.0.2 was excluded because of the top level dependency base -any
base-4.3.0.0 was excluded because of the top level dependency base -any
%sudo ~/.cabal/bin/cabal install base
Resolving dependencies...
cabal: internal error: impossible
%sudo ~/.cabal/bin/cabal install base-4.3.0.0
Resolving dependencies...
cabal: cannot configure base-4.3.0.0. It requires integer-simple -any
There is no available version of integer-simple that satisfies -any
%sudo ~/.cabal/bin/cabal install integer-simple
cabal: There is no package named integer-simple. Perhaps you need to run
'cabal update' first?
%

cabal update在所有這些程序之前做過。有什麼問題?

您需要安裝最新版本的 GHC(6.12.*)。使用這個tarball

引用自:https://serverfault.com/questions/241133