Hugin Compiling Ubuntu

From PanoTools.org Wiki
Jump to navigation Jump to search

These instructions were tested on a blank installation of Kubuntu 6.06 (Edgy Eft) on a AMD64 computer. Apart from the odd change in package name, nothing should be substantially different (and if does not work, please leave a comment here.

Building environment

Since we are going to build hugin (and libpano13) we need to download and install all the development packages. This is very easy with apt-get. In a terminal window (K menu/System/Konsole)

sudo apt-get install build-essential autoconf automake1.9 libtool flex bison gdb libc6-dev-amd64 lib64gcc1
sudo apt-get install subversion

Building libpano13

To build libpano13 we need some libraries and their dev package:

sudo apt-get install lib64z1 lib64z1-dev

We then need to download the source code from SVN:

svn co https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano libpano13
cd libpano13
./bootstrap
./configure

If any libraries are missing, configure will complain (or at least, let you know that some library hasn't been found). In that case you probably need to install the library. To find in what package is that library, a general rule is to run the command apt-cache search missingfile, find the relevant library and install both the library and the related -dev package.

Rerun the ./configure script until you have met all the dependencies, and launch the make process with

make

Building hugin

Reference: [1]