|author||fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>||2008-07-10 23:26:18 +0000|
|committer||fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>||2008-07-10 23:26:18 +0000|
Added note to INSTALL that Cabal >= 1.2 is required for build.
Resolves Issue #74. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1296 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'INSTALL')
1 files changed, 12 insertions, 6 deletions
@@ -14,10 +14,14 @@ X). If you're using Windows, you can install [Cygwin].
-To compile Pandoc, you'll need [GHC] version 6.6 or greater. If you
-don't have GHC already, you can get it from the [GHC Download] page. If
-you're compiling GHC from source, be sure to get the `extralibs` in
-addition to the base tarball.
+To compile Pandoc, you'll need [GHC] version 6.6 or greater and [Cabal]
+version 1.2 or greater. If you don't have GHC already, you can get it
+from the [GHC Download] page. If you're compiling GHC from source, be
+sure to get the `extralibs` in addition to the base tarball. GHC comes
+with a version of Cabal. Note, however, that the version of Cabal that
+comes with GHC 6.6 is not recent enough. So if you are using GHC 6.6,
+you'll probably need to [install Cabal] separately. You can check your
+Cabal version using `ghc-pkg list`.
If you're running MacOS X, it may be more convenient to install GHC
using [MacPorts] or [Fink].
@@ -29,6 +33,8 @@ GHC and the required libraries using `apt-get`:
[GHC Download]: http://www.haskell.org/ghc/download.html
+[install Cabal]: http://www.haskell.org/cabal/download.html
@@ -101,8 +107,8 @@ Installing pandoc using Cabal
Pandoc can also be installed using the standard Haskell packaging tool,
[Cabal](http://www.haskell.org/cabal/). You'll need GHC 6.6 or greater
-(see [Installing GHC](#installing-ghc), above). Just download the source
-tarball, unpack, and type:
+and Cabal 1.2 or greater (see [Installing GHC](#installing-ghc), above).
+Just download the source tarball, unpack, and type:
runhaskell Setup.hs configure
runhaskell Setup.hs build