- Install xcode
- Install homebrew
- Run the commands
.
brew install icu4c
brew link icu4c
brew install boost
brew install proj
brew install libtiff
brew install gdal --with-libtiff=/usr/local/lib
brew install postgis
brew install cairo
git clone https://github.com/mapnik/mapnik.git
cd mapnik
./configure
sudo python scons/scons.py install CXX="clang++" -j2