summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-03-07 15:20:26 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-03-07 15:20:26 +0100
commit3724c5f4839005dee3a8a8f1c0c8fce39b504141 (patch)
treec3ea2901ffed3b8b61fdc56b64943380be687f12 /examples
parentb8d2a936bdfdbb9cc23df1470d12cd7d7b8d77a3 (diff)
downloadhakyll-3724c5f4839005dee3a8a8f1c0c8fce39b504141.tar.gz
Added section about regex-pcre in tutorial
Diffstat (limited to 'examples')
-rw-r--r--examples/hakyll/tutorial.markdown16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/hakyll/tutorial.markdown b/examples/hakyll/tutorial.markdown
index f61ccd0..dc184a7 100644
--- a/examples/hakyll/tutorial.markdown
+++ b/examples/hakyll/tutorial.markdown
@@ -234,3 +234,19 @@ This means that when you upload your site, it will usually transfer all files --
this can generate more traffic than necessary, since it is possible that some
files were not actually modified. If you use `rsync`, you can counter this using
the `--checksum` option.
+
+Problems
+--------
+
+### regex-pcre dependency on Mac OS X
+
+Hakyll requires [regex-pcre], which might fail to build on Mac OS X. To solve
+this problem:
+
+- make sure the [pcre] C library is installed (via homebrew or macports);
+- install [regex-pcre] using
+ `cabal install --extra-include-dirs=/usr/local/include regex-pcre`;
+- proceed to install Hakyll the regular way.
+
+[regex-pcre]: http://hackage.haskell.org/package/regex-pcre
+[pcre]: http://www.pcre.org/