Installing libxml2


  $ ./configure --with-python=/System/Library/Frameworks/Python.framework/Versions/2.3/
  $ make
  $ sudo make install
  This will install libxml2 to /usr/local.
  Installing libxslt
  By default configure will build against the default libxml included with OS X. And will typically give   the error:
  checking for libxml libraries >= 2.6.8... configure: error:
  Version 2.6.7 found. You need at least libxml2 2.6.8 for this
  version of libxslt
  This can be corrected by telling configure to use the libxml2 use the new libxml2.
  $ ./configure 
    --with-python=/System/Library/Frameworks/Python.framework/Versions/2.3/ 
    --prefix=/usr/local 
    --with-libxml-prefix=/usr/local 
    --with-libxml-include-prefix=/usr/local/include 
    --with-libxml-libs-prefix=/usr/local/lib
  $ make
  $ sudo make install