<div dir="ltr"><div>Hello,<br></div>Maybe try adding a --library=/directory switch into the build script that points to it.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 17, 2015 at 3:09 AM, titopoquito <span dir="ltr"><<a href="mailto:titopoquito@gmail.com" target="_blank">titopoquito@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I am the maintainer of the hugin SlackBuild, a program for creating panorama photos. A newer version has been released about a week ago. When compiling it, I succeeded first, then ran into problems trying to reproduce it. Being none of a programmer, I finally (after serious headbanging) found two workarounds that both look not optimal to me. Opinions on this one are highly appreciated.<br>
<br>
Problem overview:<br>
hugin needs enblend-enfuse, which in turn needs the vigra library. For the new hugin version, vigra needs to be build with openexr support. That's fine, openexr is bundled with Slackware 14.1. But when vigra is compiled with openexr-support then enblend-enfuse later stops during configuring claiming that libvigraimpex is not found [if someone wants more info about this, please email me]. No error is given if vigra is compiled without the openexr option, but then hugin later refuses to compile because it says vigra has to be compiled with openexr support. Duh.<br>
<br>
Workaround 1:<br>
Install vigra twice - first without openexr support, then compile enblend-enfuse, then the second vigra install WITH openexr support. With this, hugin compiles, but I cannot say if it will give errors working on real high dynamic-range photos.<br>
<br>
Workaround 2:<br>
I could trace down enblend-enfuses unwillingess to compile with the openexr-enabled vigra to to the ilmbase package bundled with Slackware. ilmbase does not pick up pthread libraries without being told so explicitely. When compiled with "-pthread" added to the SLKCFLAGS the errors disappear and all build fine - ilmbase, openexr [rebuilt just to be sure], vigra, enblend-enfuse, hugin. BINGO.<br>
But as it is shipped with Slackware and obviously noone had problems before, I hesitate asking Pat to include this pthread option, the more because it is not for security reasons.<br>
<br>
So I am considering to forget the new hugin version for now and to ask Pat to include the pthread option to ilmbase for the upcoming release.<br>
<br>
If you got here thanks for reading :D Any thoughts/suggestions?<br>
<br>
Tito<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" rel="noreferrer" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div><br></div>