Created
November 5, 2013 11:45
-
-
Save cornet/7317899 to your computer and use it in GitHub Desktop.
Building libxml2 and libxlst on Ubuntu.
This file contains hidden or 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
# Preflight | |
gem install fpm | |
# | |
# libxml2 | |
# | |
wget ftp://xmlsoft.org/libxml2/libxml2-2.8.0.tar.gz | |
tar -zxvf libxml2-2.8.0.tar.gz | |
cd libxml2-2.8.0 | |
./configure --prefix=/usr/local | |
make | |
mkdir -p /tmp/libxml2 && make install DESTDIR=/tmp/libxml2 | |
# build and install the deb | |
fpm -s dir -t deb -n libxml28 -v 2.8.0 -C /tmp/libxml2 -p libxml28-VERSION_ARCH.deb usr | |
sudo dpkg -i libxml28-2.8.0_amd64.deb | |
# | |
# libxslt | |
# | |
wget ftp://xmlsoft.org/libxslt/libxslt-1.1.28.tar.gz | |
tar -zxvf libxslt-1.1.28.tar.gz | |
cd libxslt-1.1.28 | |
./configure --prefix=/usr/local | |
make | |
mkdir -p /tmp/libxslt1 && make install DESTDIR=/tmp/libxslt1 | |
# build and install the deb | |
fpm -s dir -t deb -n libxslt1 -v 1.2.28 -C /tmp/libxslt1 -p libxslt1-VERSION_ARCH.deb usr | |
sudo dpkg -i libxslt1-1.2.28_amd64.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment