Hugin on Centos 7

To update corporate website and for a EcoMondo I had to stitch some photos I’ve made a couple of weeks ago. As usual I wanted to use Hugin.

yum install hugin told me that my new Centos 7 machine don’t have it. Ok, let’s search for a proper repo. Too bad there isn’t.

Ok, let’s do it the old way: recompiling it from sources.

That’s a small log of me following the path hinted at on Hugin Compiling Fedora – PanoTools.org Wiki

Note: I’ve finally renounced. Too many unmet dependencies, too many unsolved parts. CentOS is a server distribution and I won’t mess it just to use Hugin. I would rather run something more “pliable” as a virtual machine

CompilingIf you want to compile hugin yourself, just follow the instructions in the INSTALL_cmake file, you will need these development RPM packages (April 2013): libpano13-devel zlib-devel libtiff-devel libjpeg-devel libpng-devel gettext-devel wxGTK-devel boost-devel cmake desktop-file-utils OpenEXR-devel gcc-c++ exiv2-devel glew-devel freeglut-devel mesa-libGLU-devel libXmu-devel wxPython tclap-devel python-devel swig flann-devel lensfun-devel perl-podlators (needed for fedora 19 and above)

  • Installing all those requirements.
  • Discovering that version 2016 requires a too recent cmake. Ok, reverting to version 2014
  • Oh my: no libpano13-devel and no tclap-devel packages available. It feels like using a way-outdated distro.
  • Ok, looking for their sources too. I begin longing for a less “stable” distribution.
  • Exif support missing, installing libexif-devel
  • Not enough, installing exiv2
  • No it’s not that. It may be perl-Image-ExifTool.noarch
  • Mhmmm… cmake seems satisfied. But compiler found a syntax error in 2014 release. Wow. Last try: 2015 release which also require VIGRA.
  • Let’s hope that vigra-devel suffice. AFAICS it should be The VIGRA Computer Vision Library.
  • Error: Libvigraimpex found.  But vigraimpex seems to compiled without OpenEXR support.  OpenEXR support is required for Hugin.

Ok, enough is enough. Let’s create a “hacking” virtual box, based on something “more recent”, such as Fedora 24.

Stay tuned

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.