http://www.yesodweb.com/page/quickstart
$ sudo pkg install hs-haskell-platform
$ cabal update
... now this says that we should upgrade with: cabal install cabal-install
... but do NOT do it, otherwise some packages will not find some header files
$ cabal install yesod-platform yesod-bin --max-backjumps=-1 --reorder-goals
... this takes long
$ ghc-pkg list | grep yesod
yesod-1.2.5.2
yesod-auth-1.3.0.4
yesod-auth-hashdb-1.3.0.1
yesod-core-1.2.14
yesod-form-1.3.8.2
yesod-persistent-1.2.2.3
yesod-platform-1.2.10
yesod-routes-1.2.0.6
yesod-static-1.2.2.5
yesod-test-1.2.1.2
If you happen to mess up the ghc/cabal packages, just
rm -rf ~/.cabal ~/.ghc/
No comments:
Post a Comment