Personal tools


From HaskellWiki

< Lambdabot(Difference between revisions)
Jump to: navigation, search
m (correct link to the patch)
(ghc 7.2.1 issues)

Revision as of 04:50, 24 October 2011

Unfortunately, some of the packages that Lambdabot depends on in Hackage do not, as of 9 January 2009, 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
darcs get
darcs get

Lets 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 -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.

When I try to install mueval with GHC 7.2.1, I get a conflict:

cannot configure show- It requires base <4
mueval-0.8.1 requires base ==4.*

=( Dan Burton 04:50, 24 October 2011 (UTC)