Forked from badzil/How to install libxml2 and libxslt for python 2.6 on CentOS 5.5
Created
October 20, 2015 09:05
-
-
Save superalsrk/a481950df958f6836adf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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