summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-11-28 14:03:35 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-11-28 14:03:35 -0400
commit53e327ae4aaba5425f3649867d9f9a709d5c7e6a (patch)
treead11a4422648990adde3a3fe515d4477f45bae9c
parentb95c0cdc4efb3cd853d5d9e8553346dfc1fcb311 (diff)
update cabal install instructions to get c2hs installed for gnuidn
-rw-r--r--doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn4
-rw-r--r--doc/install/cabal.mdwn3
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn b/doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn
index cdb4a25bf..924ce06c7 100644
--- a/doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn
+++ b/doc/bugs/Need_to_manually_install_c2hs_-_3.20121127_and_previous.mdwn
@@ -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]]
diff --git a/doc/install/cabal.mdwn b/doc/install/cabal.mdwn
index 180208211..c4c388e0d 100644
--- a/doc/install/cabal.mdwn
+++ b/doc/install/cabal.mdwn
@@ -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