Я весь день пытаюсь установить Happstack на свой FreeBSD. Наконец я установил 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. *). Использовать это архивы.