INSTALL instructions fix for libicu.

This commit is contained in:
John MacFarlane 2019-09-08 09:43:53 -07:00
parent d96a5629bc
commit 95a19fcff0

View file

@ -241,9 +241,10 @@ The easiest way to build pandoc from source is to use [stack][stack]:
vary by platform. Here is how it might work on macOS with Homebrew: vary by platform. Here is how it might work on macOS with Homebrew:
brew install icu4c brew install icu4c
cabal install --extra-lib-dirs=/usr/local/Cellar/icu4c/51.1/lib \ stack install pandoc-citeproc \
--extra-include-dirs=/usr/local/Cellar/icu4c/51.1/include \ --flag "pandoc-citeproc:unicode_collation" \
-funicode_collation text-icu pandoc-citeproc --extra-lib-dirs=/usr/local/opt/icu4c/lib \
--extra-include-dirs=/usr/local/opt/icu4c/include
6. The `pandoc.1` man page will be installed automatically. cabal shows 6. The `pandoc.1` man page will be installed automatically. cabal shows
you where it is installed: you may need to set your `MANPATH` you where it is installed: you may need to set your `MANPATH`