Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save superalsrk/a481950df958f6836adf to your computer and use it in GitHub Desktop.
Save superalsrk/a481950df958f6836adf to your computer and use it in GitHub Desktop.
Original inspiration found here:
http://www.openerp.com/forum/topic21864.html
== Install libxml2 ==
$ wget ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.8.tar.gz
$ tar xvf libxml2-sources-2.7.8.tar.gz
$ cd libxml2-2.7.8/
$ ./configure --with-python=/usr/bin/python2.6
$ make
$ make install
This installs the libxml2 libraries in /usr/lib/python2.6/site-packages/
== Install libxslt ==
$ wget ftp://xmlsoft.org/libxml2/libxslt-1.1.26.tar.gz
$ tar xvf libxslt-1.1.26.tar.gz
$ cd libxslt-1.1.26/
$ ./configure --with-python=/usr/bin/python2.6 --with-libxml-src=<path to libxml2 sources directory>
$ make
$ make install
This installs the libxslt libraries in /usr/lib/python2.6/site-packages/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment