Build on Ubuntu
From VipsWiki
(Difference between revisions)
| Revision as of 10:09, 17 June 2009 Kirk (Talk | contribs) ← Previous diff |
Revision as of 10:12, 17 June 2009 Kirk (Talk | contribs) Next diff → |
||
| Line 1: | Line 1: | ||
| Although you can just do <code>apt-get install vips</code> on Ubuntu, sometimes you need a development version. A fresh install of Ubuntu does not have a lot of development packages installed. A useful thing to do is: | Although you can just do <code>apt-get install vips</code> on Ubuntu, sometimes you need a development version. A fresh install of Ubuntu does not have a lot of development packages installed. A useful thing to do is: | ||
| - | sudo apt-get install build-essential libxml2-dev libfftw3-dev gettext libgtk2.0-dev python-dev | + | sudo apt-get install build-essential libxml2-dev libfftw3-dev gettext libgtk2.0-dev python-dev liblcms1-dev liboil-dev |
| and for a full build from the SVN sources: | and for a full build from the SVN sources: | ||
Revision as of 10:12, 17 June 2009
Although you can just do apt-get install vips on Ubuntu, sometimes you need a development version. A fresh install of Ubuntu does not have a lot of development packages installed. A useful thing to do is:
sudo apt-get install build-essential libxml2-dev libfftw3-dev gettext libgtk2.0-dev python-dev liblcms1-dev liboil-dev
and for a full build from the SVN sources:
sudo apt-get install automake
now you can build the vips tarball:
./configure ./make sudo make install
Now you need to set up your environment or the things in /usr/local won't be found
This can be added to the end of your .bashrc in your home area:
export VIPSHOME=/usr/local export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VIPSHOME/lib export PATH=$PATH:$VIPSHOME/bin export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$VIPSHOME/lib/pkgconfig export MANPATH=$MANPATH:$VIPSHOME/man export PYTHONPATH=$VIPSHOME/lib/python2.5/site-packages
tested on ubuntu 8.10
