{"id":1598,"date":"2016-05-27T09:48:16","date_gmt":"2016-05-27T07:48:16","guid":{"rendered":"http:\/\/monodes.com\/predaelli\/?p=1598"},"modified":"2016-05-27T09:48:16","modified_gmt":"2016-05-27T07:48:16","slug":"hugin-on-centos-7","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2016\/05\/27\/hugin-on-centos-7\/","title":{"rendered":"Hugin on Centos 7"},"content":{"rendered":"<p>To update corporate website and for a EcoMondo I had to stitch some photos I&#8217;ve made a couple of weeks ago. As usual I wanted to use Hugin.<\/p>\n<p><code class=\"\" data-line=\"\">yum install hugin <\/code>told me that my new Centos 7 machine don&#8217;t have it. Ok, let&#8217;s search for a proper repo. Too bad there isn&#8217;t.<\/p>\n<p>Ok, let&#8217;s do it the old way: recompiling it from sources.<\/p>\n<p>That&#8217;s a small log of me following the path hinted at on <em><a href=\"http:\/\/wiki.panotools.org\/Hugin_Compiling_Fedora\">Hugin Compiling Fedora &#8211; PanoTools.org Wiki<\/a><\/em><\/p>\n<p><strong>Note: I&#8217;ve finally renounced.<\/strong> Too many unmet dependencies, too many unsolved parts. <strong>CentOS is a server distribution and I won&#8217;t mess it just to use Hugin<\/strong>. I would rather run something more &#8220;pliable&#8221; as a virtual machine<\/p>\n<blockquote><p>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)<\/p><\/blockquote>\n<p><!--more--><\/p>\n<ul>\n<li>Installing all those requirements.<\/li>\n<li>Discovering that version 2016 requires a too recent cmake. Ok, reverting to version 2014<\/li>\n<li>Oh my: no <code class=\"\" data-line=\"\"> libpano13-devel<\/code> and no <code class=\"\" data-line=\"\">tclap-devel<\/code> packages available. It feels like using a way-outdated distro.<\/li>\n<li>Ok, looking for their sources too. I begin longing for a less &#8220;stable&#8221; distribution.<\/li>\n<li>Exif support missing, installing <code class=\"\" data-line=\"\">libexif-devel<\/code><\/li>\n<li>Not enough, installing <code class=\"\" data-line=\"\">exiv2<\/code><\/li>\n<li>No it&#8217;s not that. It <strong>may<\/strong> be <code class=\"\" data-line=\"\">perl-Image-ExifTool.noarch<\/code><\/li>\n<li>Mhmmm&#8230; cmake seems satisfied. But compiler found a syntax error in 2014 release. Wow. Last try: 2015 release which also require VIGRA.<\/li>\n<li>Let&#8217;s hope that <code class=\"\" data-line=\"\">vigra-devel<\/code> suffice. AFAICS it should be <span style=\"font-family: Helvetica,Arial,sans-serif; font-size: medium;\"><a href=\"https:\/\/ukoethe.github.io\/vigra\/\">The VIGRA Computer Vision Library<\/a>.<\/span><\/li>\n<li>Error: <code class=\"\" data-line=\"\">Libvigraimpex found.\u00a0 But vigraimpex seems to compiled without OpenEXR support.\u00a0 OpenEXR support is required for Hugin.<\/code><\/li>\n<\/ul>\n<p>Ok, enough is enough. Let&#8217;s create a &#8220;hacking&#8221; virtual box, based on something &#8220;more recent&#8221;, such as Fedora 24.<\/p>\n<p>Stay tuned<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">To update corporate website and for a EcoMondo I had to stitch some photos I&#8217;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&#8217;t have it. Ok, let&#8217;s search for a proper repo. Too bad there isn&#8217;t. Ok, let&#8217;s&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2016\/05\/27\/hugin-on-centos-7\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[111],"tags":[],"class_list":["post-1598","post","type-post","status-publish","format-standard","hentry","category-fedora-redhat"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-pM","jetpack-related-posts":[{"id":9311,"url":"https:\/\/monodes.com\/predaelli\/2022\/04\/27\/9311\/","url_meta":{"origin":1598,"position":0},"title":"As I wished to add\u2026","author":"Paolo Redaelli","date":"2022-04-27","format":false,"excerpt":"As I wished to add a little NextCloud installation to my small corporate server I used its web installer that quaralled that PHP 7.2 is too old. I was used to Debian way of handling multiple versions of a package (having the major version in the package name). These notes\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1096,"url":"https:\/\/monodes.com\/predaelli\/2016\/03\/07\/castxml-or-gccxml\/","url_meta":{"origin":1598,"position":1},"title":"castxml or gccxml?","author":"Paolo Redaelli","date":"2016-03-07","format":false,"excerpt":"Debian Package castxml is not available in Debian stable so it's wiser to stick to gccxml until Liberty Eiffel bell is released. stretch (testing) (devel): C-family abstract syntax tree XML output tool 0.1+git20150807-1+b1: amd64 0.1+git20150807-1: arm64 armel armhf i386 mips mipsel powerpc ppc64el s390x sid (unstable) (devel): C-family abstract syntax\u2026","rel":"","context":"In &quot;Debian&quot;","block_context":{"text":"Debian","link":"https:\/\/monodes.com\/predaelli\/category\/debian\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3388,"url":"https:\/\/monodes.com\/predaelli\/2017\/09\/27\/epiphany-on-centos-7\/","url_meta":{"origin":1598,"position":2},"title":"Epiphany on CentOS 7","author":"Paolo Redaelli","date":"2017-09-27","format":false,"excerpt":"I'm quite puzzeled: Centos 7 contains the same software as RedHat so knowing that Red Hat is one of the forces behind Gnome one would expect to find Web, the browser once known as Epiphany to be installed or at least installable on it. Nope. As I discoverede reading Gnome\u2026","rel":"","context":"In &quot;Fedora - RedHat&quot;","block_context":{"text":"Fedora - RedHat","link":"https:\/\/monodes.com\/predaelli\/category\/fedora-redhat\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1547,"url":"https:\/\/monodes.com\/predaelli\/2016\/05\/19\/1547\/","url_meta":{"origin":1598,"position":3},"title":"I'm going to get a\u2026","author":"Paolo Redaelli","date":"2016-05-19","format":false,"excerpt":"I'm going to get a new workstation.\u00a0 This time I will use CentOS, so I will have a real machine to test Liberty Eiffel rpm packages","rel":"","context":"In &quot;Fedora - RedHat&quot;","block_context":{"text":"Fedora - RedHat","link":"https:\/\/monodes.com\/predaelli\/category\/fedora-redhat\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1463667522624.jpeg?fit=600%2C450&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1463667522624.jpeg?fit=600%2C450&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1463667522624.jpeg?fit=600%2C450&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1648,"url":"https:\/\/monodes.com\/predaelli\/2016\/06\/07\/debianisms\/","url_meta":{"origin":1598,"position":4},"title":"Debianisms","author":"Paolo Redaelli","date":"2016-06-07","format":false,"excerpt":"I was going to enable mod_rewrite on the new work box, discovering that CentOS doesn't have a2enmod. So reading apache 2.2 - CentOS\u201c-bash: a2enmod: command not found\u201d - from Server Fault I discovered that a2enmod is a debianism, on CentOS you will need to do this manually. Please refer to\u2026","rel":"","context":"In &quot;Fedora - RedHat&quot;","block_context":{"text":"Fedora - RedHat","link":"https:\/\/monodes.com\/predaelli\/category\/fedora-redhat\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9307,"url":"https:\/\/monodes.com\/predaelli\/2022\/04\/27\/progressively-un-centoing\/","url_meta":{"origin":1598,"position":5},"title":"Progressively un-centoing","author":"Paolo Redaelli","date":"2022-04-27","format":false,"excerpt":"I got slightly annoyed when Centos were terminated. In my efforts to Fedorize the server I use everyday to host the WordPress blog that records most of the work done on our Quality Managament System I encountered this annoying error Failed to download metadata for repo 'appstream': Cannot prepare internal\u2026","rel":"","context":"In &quot;Fedora - RedHat&quot;","block_context":{"text":"Fedora - RedHat","link":"https:\/\/monodes.com\/predaelli\/category\/fedora-redhat\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=1598"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1598\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=1598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=1598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=1598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}