Installing on MacOS is very similar to installing on Linux. The main difference is how to install the dependencies and required development tools, which is greatly eased by MacPorts.
sudo port install automake sudo port install libtoool sudo port install subversion
sudo port install boostThis will install also libicu. Note that zlib is already installed in MacOS. If configure complains about it not being there, you can install it with sudo port install zlib.
Important: libraries in MacOS are installed in /opt/local instead of /usr/local. So, when running configure, you need to specify the right library paths. Also, locales need some specific handling which requires the use of libboost-locale
In summary, you need to run ./configure with the command:
./configure --enable-boost-locale CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib"You can add to this command any extra options you wish (-enable-traces, -prefix, etc). Use ./configure -help to find out available options.
Lluís Padró 2013-09-09