From de1d17464871c1efd4ae7f540d0edc352c0b2043 Mon Sep 17 00:00:00 2001 From: systemed Date: Sun, 14 Apr 2013 17:03:29 -0700 Subject: [PATCH] Updated MacInstallation_Homebrew (markdown) --- MacInstallation_Homebrew.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/MacInstallation_Homebrew.md b/MacInstallation_Homebrew.md index f421cad..b0e7396 100644 --- a/MacInstallation_Homebrew.md +++ b/MacInstallation_Homebrew.md @@ -73,4 +73,12 @@ It's likely that your copy of boost was linked against the system python, but yo ```sh brew uninstall boost brew install --build-from-source boost -``` \ No newline at end of file +``` + +## Building with Cairo + +If you need Cairo and its Python bindings, install and link these (cairo and py2cairo) with homebrew as normal. Then, to build Mapnik from source with Cairo bindings: + +``` +./configure CXX="clang++" JOBS=`sysctl -n hw.ncpu` CAIRO=True CAIRO_INCLUDES=/usr/local CAIRO_LIBS=/usr/local PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/X11/lib/pkgconfig +```