aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-09-07 09:25:48 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-09-07 09:25:48 -0700
commit6397aacdaed3f5ca3305a383b8ff6575f5d73e5d (patch)
treeb3be047df073a4af8e9d848d21c0029268436be9
parentddac7434fcc5ad4e3f14315beafdea537423cf3e (diff)
downloadpandoc-6397aacdaed3f5ca3305a383b8ff6575f5d73e5d.tar.gz
INSTALL.md: indicate that cabal >= 2.0 is needed.
-rw-r--r--INSTALL.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 568e2ea8a..32e71cc3c 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -143,13 +143,21 @@ The easiest way to build pandoc from source is to use [stack]:
1. Install the [Haskell platform]. This will give you [GHC] and
the [cabal-install] build tool. Note that pandoc requires
- GHC >= 7.10.
+ GHC >= 7.10 and cabal >= 2.0.
2. Update your package database:
cabal update
-3. Use `cabal` to install pandoc and its dependencies:
+3. Check your cabal version with
+
+ cabal --version
+
+ If you have a version less than 2.0, install the latest with:
+
+ cabal install cabal-install
+
+4. Use `cabal` to install pandoc and its dependencies:
cabal install pandoc
@@ -162,7 +170,7 @@ The easiest way to build pandoc from source is to use [stack]:
cabal install
-4. Make sure the `$CABALDIR/bin` directory is in your path. You should
+5. Make sure the `$CABALDIR/bin` directory is in your path. You should
now be able to run `pandoc`:
pandoc --help
@@ -206,6 +214,7 @@ over the build and installation. Most users should use the
quick install, but this information may be of use to packagers.
For more details, see the [Cabal User's Guide]. These instructions
assume that the pandoc source directory is your working directory.
+You will need cabal version 2.0 or higher.
1. Install dependencies: in addition to the [Haskell platform],
you will need a number of additional libraries. You can install