update cabal install instructions to get c2hs installed for gnuidn

This commit is contained in:
Joey Hess 2012-11-28 14:03:35 -04:00
parent 0216f68976
commit 4f7530afd9
2 changed files with 5 additions and 2 deletions

View file

@ -32,4 +32,6 @@ The fix seems as easy as
Should c2hs be included as a dep got git-annex or is this a bug in gnuidn?
> If `cabal install gnuidn` fails, then this is a bug in gnuidn. --[[Joey]]
> Apparently cabal does not support automatically installing programs
> needed for the build. I've updated the cabal installation instructions
> to document the need to install c2hs. [[done]] --[[Joey]]

View file

@ -1,7 +1,7 @@
As a haskell package, git-annex can be installed using cabal. For example:
cabal update
cabal install git-annex --bindir=$HOME/bin
cabal install c2hs git-annex --bindir=$HOME/bin
The above downloads the latest release and installs it into a ~/bin/
directory, which you can put in your PATH.
@ -10,6 +10,7 @@ But maybe you want something newer (or older). Then [[download]] the version
you want, and use cabal as follows inside its source tree:
cabal update
cabal install c2hs --bindir=$HOME/bin
cabal install --only-dependencies
cabal configure
cabal build