Add details of Ubuntu 12.04 oddities. Closes #16.

This commit is contained in:
Lovell Fuller 2014-04-08 22:35:20 +01:00
parent 8785ca4331
commit 45d5f12a63

View File

@ -37,12 +37,19 @@ The _gettext_ dependency of _libvips_ [can lead](https://github.com/lovell/sharp
sudo apt-get install automake build-essential git gobject-introspection gtk-doc-tools libfftw3-dev libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff5-dev liborc-0.4-dev libxml2-dev swig sudo apt-get install automake build-essential git gobject-introspection gtk-doc-tools libfftw3-dev libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff5-dev liborc-0.4-dev libxml2-dev swig
git clone https://github.com/jcupitt/libvips.git git clone https://github.com/jcupitt/libvips.git
cd libvips cd libvips
git checkout 7.38
./bootstrap.sh ./bootstrap.sh
./configure --enable-debug=no ./configure --enable-debug=no --enable-cxx=no --without-python
make make
sudo make install sudo make install
sudo ldconfig sudo ldconfig
Ubuntu 12.04 requires `libtiff4-dev` instead of `libtiff5-dev` and has (a bug in the libwebp package)[https://bugs.launchpad.net/ubuntu/+source/libwebp/+bug/1108731]. Work around these problems by running these command first:
sudo add-apt-repository ppa:lyrasis/precise-backports
sudo apt-get update
sudo apt-get install libtiff4-dev
## Install ## Install
npm install sharp npm install sharp