Lambdabot/Building
From HaskellWiki
(Difference between revisions)
m (Building Lambdabot moved to Lambdabot/Building) |
(Removed dead links to http://www.glyc.dc.uba.ar/daniel/repos/ghc-mtl and .../hint) |
||
| Line 7: | Line 7: | ||
<code> | <code> | ||
darcs get http://code.haskell.org/HSP/haskell-src-exts | darcs get http://code.haskell.org/HSP/haskell-src-exts | ||
| - | |||
| - | |||
darcs get http://code.haskell.org/mubot | darcs get http://code.haskell.org/mubot | ||
darcs get http://code.haskell.org/lambdabot | darcs get http://code.haskell.org/lambdabot | ||
| Line 16: | Line 14: | ||
<code> | <code> | ||
cd haskell-src-exts | cd haskell-src-exts | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
cabal install | cabal install | ||
cd .. | cd .. | ||
Revision as of 18:35, 10 January 2009
Unfortunately, the packages that Lambdabot depends on in Hackage do not, as of 8 December 2008, support GHC 6.10. Fortunately, the darcs repositories of most of these packages do support it.
To compile lambdabot on ghc >=6.10, follow the following steps
Get the stuff from darcs repositories:darcs get http://code.haskell.org/HSP/haskell-src-exts darcs get http://code.haskell.org/mubot darcs get http://code.haskell.org/lambdabotLets install haskell-src-exts from darcs (TODO: This may not actually be required, the one from Hackage might be good enough):cd haskell-src-exts cabal install cd ..
Install mueval:
cd mubot/mueval
cabal install
cd ../..
Apply a patch to lambdabot and install it:
cd lambdabot
wget http://www.haskell.org/sitewiki/images/e/ed/Lambdabot.patch -O -|patch -p1
cabal install
cd ..
Edit your online.rc file at ~/.cabal/share/lambdabot-version/online.rc
And run lambdabot via:
lambdabot -e "rc ~/.cabal/share/lambdabot-version/online.rc"
This may not be complete, please correct it if any more fixes are required, and as things are updated.
