on master help sign in
Added section about regex-pcre in tutorial
commit3724c5f4839005dee3a8a8f1c0c8fce39b504141 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateMon 7 Mar 2011, 15:20 (16 years ago) parentb8d2a93
1 file changed+16
examples/hakyll/tutorial.markdown+16
examples/hakyll/tutorial.markdown+16
@@ -234,3 +234,19 @@ This means that when you upload your site, it will usually transfer all files --
234234this can generate more traffic than necessary, since it is possible that some
235235files were not actually modified. If you use `rsync`, you can counter this using
236236the `--checksum` option.
237+
238+Problems
239+--------
240+
241+### regex-pcre dependency on Mac OS X
242+
243+Hakyll requires [regex-pcre], which might fail to build on Mac OS X. To solve
244+this problem:
245+
246+- make sure the [pcre] C library is installed (via homebrew or macports);
247+- install [regex-pcre] using
248+ `cabal install --extra-include-dirs=/usr/local/include regex-pcre`;
249+- proceed to install Hakyll the regular way.
250+
251+[regex-pcre]: http://hackage.haskell.org/package/regex-pcre
252+[pcre]: http://www.pcre.org/