#!/bin/sh ## # Install libxml2 on Mac OS X. # Newer versions of these libraries may be available and may work better on OS X # # This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html # export build=~/src # or wherever you'd like to build mkdir -p $build cd $build git clone git://git.gnome.org/libxml2 cd libxml2 autoreconf -vif ./configure make sudo make install echo "Installation complete."