Re: Issue regarding ilmbase and pyilmbase installation
Peter Hillman <[email protected]> Wed, 29 Nov 2017 08:45:26 +1300
| Newsgroups | gmane.comp.video.openexr.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============6291222915344120531== Content-Type: multipart/alternative; boundary="------------0A3080E48A9A456231A4A1FC" Content-Language: en-US This is a multi-part message in MIME format. --------------0A3080E48A9A456231A4A1FC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit You might find it easier to install both packages in the same folder (so install pyilmbase into /opt/ilmbase-2-2-0 not /opt/pyilmbase-2-2-0). When pyilmbase configures it will look for your ilmbase install in the same folder you want to install pyilmbase into, so installing both in the same folder should work. If you do want to keep them separate, you'll need to add the following two environment variables before you run thepyilmbase ./configure step. If you run bash: export PKG_CONFIG_PATH=/opt/ilmbase-2-2-0/lib/pkgconfig export LD_LIBRARY_PATH=/opt/ilmbase-2-2-0/lib/|| It's possible you'll also need /opt/ilmbase-2-2-0/lib included in the LD_LIBRARY_PATH before starting python whenever you use the pyilmbase module On 29/11/17 03:35, Forum (io) wrote: > > Good day, > > I have to install OpenEXR on Centos 7 and I download the following package > http://www.openexr.com/downloads.html > > I first installed ilmbase in /opt/ > > |tar zxf ilmbase-2.2.0.tar.gz > cd ilmbase-2.2.0 > ./configure --prefix=/opt/ilmbase-2-2-0 > make > make install > > Then I installed pyilmbase and I got issues > > ||tar zxf pyilmbase-2.2.0.tar.gz > cd pyilmbase-2.2.0 > ./configure --prefix=/opt/pyilmbase-2-2-0 > > ./configure return me the following errors > / > /|/No package 'IlmBase' found// > //using prefix to set ILMBASE_CXXFLAGS and ILMBASE_LDFLAGS:// > //ILMBASE_CXXFLAGS = -I/opt/pyilmbase-2-2-0/include/OpenEXR// > //ILMBASE_LDFLAGS = -L/opt/pyilmbase-2-2-0/lib// > //ILMBASE_LIBS = -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread// > //checking for IlmBase... no// > //*** Could not run the IlmBase test program, checking why...// > //*** The test program could not be compiled. Is IlmBase installed?// > //*** Check that the cflags (below) includes the IlmBase include > directory// > //***/ > > In my point of view, it's because I defined a different install folder > than the default of ilmbase and it can find it. That right? > > Morever, then I run make command, I got this > / > //make: *** No targets specified and no makefile found. Stop. > > /*Then I wonder 3 things.* > > 1. Does my pyilmbase install process is correct???? > 2. But first all, as I installed ilmbase into /opt/, where is the > default install folder /somthing/lib/ > 3. Lasteley, how and where can I make in link (ln) to point > /opt/ilmbase-2-20, to "inform" pyilmbase library? > > Thank a lot for your help!!!!!! > > Cheers > > > |||| > > > _______________________________________________ > Openexr-user mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/openexr-user --------------0A3080E48A9A456231A4A1FC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>You might find it easier to install both packages in the same folder (so install <tt>pyilmbase</tt> into <tt>/opt/ilmbase-2-2-0 </tt>not <tt>/opt/pyilmbase-2-2-0</tt>). When <tt>pyilmbase</tt> configures it will look for your <tt>ilmbase</tt> install in the same folder you want to install <tt>pyilmbase</tt> into, so installing both in the same folder should work.<br> </p> <p>If you do want to keep them separate, you'll need to add the following two environment variables before you run the<tt> pyilmbase</tt> ./configure step. If you run bash:<br> </p> <p><tt>export PKG_CONFIG_PATH=/opt/ilmbase-2-2-0/lib/pkgconfig</tt><tt><br> </tt><tt>export LD_LIBRARY_PATH=/opt/ilmbase-2-2-0/lib/</tt><font color="#ff0000"><code></code></font></p> It's possible you'll also need <tt><tt>/opt/ilmbase-2-2-0/lib </tt></tt>included in the <tt>LD_LIBRARY_PATH</tt> before starting python whenever you use the pyilmbase module<br> <br> <div class="moz-cite-prefix">On 29/11/17 03:35, Forum (io) wrote:<br> </div> <blockquote type="cite" cite="mid:[email protected]"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <br> <div class="moz-forward-container"> Good day,<br> <br> I have to install OpenEXR on Centos 7 and I download the following package<br> <a class="moz-txt-link-freetext" href="http://www.openexr.com/downloads.html" moz-do-not-send="true">http://www.openexr.com/downloads.html</a><br> <br> I first installed ilmbase in /opt/<br> <br> <font color="#ff0000"><code>tar zxf ilmbase-2.2.0.tar.gz<br> cd ilmbase-2.2.0<br> ./configure --prefix=/opt/ilmbase-2-2-0<br> make<br> make install<br> <br> <font color="#000000">Then I installed pyilmbase and I got issues<br> <br> </font></code><code>tar zxf pyilmbase-2.2.0.tar.gz<br> cd pyilmbase-2.2.0<br> ./configure --prefix=/opt/pyilmbase-2-2-0<br> <font color="#000000"><br> ./configure return me the following errors<br> <i><br> </i></font></code></font><i>No package 'IlmBase' found</i><i><br> </i><i>using prefix to set ILMBASE_CXXFLAGS and ILMBASE_LDFLAGS:</i><i><br> </i><i> ILMBASE_CXXFLAGS = -I/opt/pyilmbase-2-2-0/include/OpenEXR</i><i><br> </i><i> ILMBASE_LDFLAGS = -L/opt/pyilmbase-2-2-0/lib</i><i><br> </i><i> ILMBASE_LIBS = -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread</i><i><br> </i><i>checking for IlmBase... no</i><i><br> </i><i>*** Could not run the IlmBase test program, checking why...</i><i><br> </i><i>*** The test program could not be compiled. Is IlmBase installed?</i><i><br> </i><i>*** Check that the cflags (below) includes the IlmBase include directory</i><i><br> </i><i>***</i><br> <br> In my point of view, it's because I defined a different install folder than the default of ilmbase and it can find it. That right?<br> <br> Morever, then I run make command, I got this<br> <i><br> </i><i>make: *** No targets specified and no makefile found. Stop.<br> <br> </i><b>Then I wonder 3 things.</b><br> <br> 1. Does my pyilmbase install process is correct????<br> 2. But first all, as I installed ilmbase into /opt/, where is the default install folder /somthing/lib/<br> 3. Lasteley, how and where can I make in link (ln) to point /opt/ilmbase-2-20, to "inform" pyilmbase library?<br> <br> Thank a lot for your help!!!!!!<br> <br> Cheers<br> <br> <br> <font color="#ff0000"><code></code></font><font color="#ff0000"><code></code></font> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Openexr-user mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.nongnu.org/mailman/listinfo/openexr-user">https://lists.nongnu.org/mailman/listinfo/openexr-user</a> </pre> </blockquote> <br> </body> </html> --------------0A3080E48A9A456231A4A1FC-- --===============6291222915344120531== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Openexr-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/openexr-user --===============6291222915344120531==--