openexr-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-user] Issue regarding ilmbase and pyilmbase installation


From: Peter Hillman
Subject: Re: [Openexr-user] Issue regarding ilmbase and pyilmbase installation
Date: Wed, 29 Nov 2017 08:45:26 +1300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

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 the pyilmbase ./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
address@hidden
https://lists.nongnu.org/mailman/listinfo/openexr-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]