darcs prerequisites on GHC 6.6.x (2009-01-25) --------------------------------------------- {{{ wget `http://hackage.haskell.org/packages/archive/filepath/1.1.0.0/filepath-1.1.0.0.tar.gz `_ wget `http://hackage.haskell.org/packages/archive/Cabal/1.4.0.2/Cabal-1.4.0.2.tar.gz `_ wget `http://hackage.haskell.org/packages/archive/QuickCheck/2.1.0.1/QuickCheck-2.1.0.1.tar.gz `_ tar xzvf filepath-1.1.0.0.tar.gz cd filepath-1.1.0.0 runhaskell Setup configure --user --prefix=${HOME}/.cabal runhaskell Setup build runhaskell Setup install cd .. tar xzvf Cabal-1.6.0.1.tar.gz cd Cabal-1.6.0.1 ghc --make Setup -hide-package `FilePath `_-0.11 \|\| ghc --make Setup ./Setup configure --user --prefix=${HOME}/.cabal ./Setup build ./Setup install cd .. tar xzvf `QuickCheck `_-2.1.0.1.tar.gz cd `QuickCheck `_-2.1.0.1 ghc --make Setup -package Cabal-1.6.0.1 -hide-all-packages -package base ./Setup configure --user ./Setup build ./Setup install cd .. }}} Wahoo! On to building darcs! Troubleshooting --------------- - Error messages about ``undefined reference to `__DISCARD__'``: your version of GCC is new. Edit your the ghc shell script in ``/usr/local/bin/ghc``(for example) and add ``-fasm``to the end of the call to the actual binary