hugin on gentoo: panoramas at last

mid-scarborough community centre

The above may not be the most remarkable panoramic picture ever — the back of a suburban hockey rink — but it’s the first image I’ve managed to stitch with hugin, a front-end to Helmut Dersch’s panotools.

It was a bit of a fight to get it working with Gentoo linux.

Update, 10 Feb 2004:

Many people have asked me how I installed this. To the best of my knowledge, this is how:

  1. emerge fftw. You might also need wx-gtk.
  2. Install the Vigra graphics library. Please note that, unless you specify --prefix=..., it will install in your home directory, which isn’t what you want.
  3. download the panorama-tools RPM from the Hugin site, then do rpm2targz panorama-tools-2.6bml12-2.i386.rpm
  4. Untar the resulting archive from /, to put all the files in the right place.
  5. Check that you have all the right libraries for the panorama tools library using ldd. I found I had to: ln -s /usr/lib/ /usr/local/lib/
  6. run ldconfig
  7. Build Hugin from the source archive. It should just work…


  1. Hi!

    I’m trying to get working Hugin on Gentoo, but it has been impossible by now… could you get me some instructions?

    Thx a lot 🙂

  2. I finally got it working. However when compiling with wxGTK 2 you need to change the configure file:


    Then it does build hugin 🙂

Leave a comment

Your email address will not be published. Required fields are marked *