Re: Pain to install pyilmabase
Peter Hillman <[email protected]> Thu, 11 Jan 2018 18:23:23 +1300
| Newsgroups | gmane.comp.video.openexr.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============6465828687957051395==
Content-Type: multipart/alternative;
boundary="------------F271B8436E748CF77A095AE1"
Content-Language: en-US
This is a multi-part message in MIME format.
--------------F271B8436E748CF77A095AE1
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
I'm confused over where you have things installed. It looks like you
have some things in /opt/pyilmbase-2-2-0/ and others in
/opt/ilmbase-2-2-0/, but I'm not sure whether you are passing
information to your configure scripts to specify the locations of
dependent libraries.
Perhaps you could try starting again, installing everything into the
same folder, say /opt/testbuild. You could at least to try this to see
if you can get it working first even if you do something else later.
Remove all the old install folders and also the source folders you
previously used for attempts to compile ilmbase, pyilmbase, and boost,
re-extracting from the downloaded tar.gz files into new folders. This
will stop old files created with different configurations interfering
with the build.
Before you start to install,
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/testbuild/lib/pkgconfig
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/testbuild/lib/
The first of these tells the configure scripts where to find the package
configuration information for ilmbase once it's installed. The second
tells the runtime linker where to load the shared libraries you have
installed. The configure scripts will need this when they test that the
required libraries are working.
Make /opt/testbuild, and make it writable to your ordinary user account
(so you don't need to install as root)
sudo mkdir -m a=rwx /opt/testbuild
Install boost into it:
tar xf boost_1_65_1.tar.gz
cd boost_1_65_1
./bootstrap.sh --prefix=/opt/testbuild
./b2 install address-model=64 variant=release threading=multi link=shared
Now do ilmbase:
tar xf ilmbase-2.2.0.tar.gz
cd ilmbase-2.2.0
./configure --prefix=/opt/testbuild
make
make install
Finally pyilmbase:
tar xf pyilmbase-2.2.0.tar.gz
cd pyilmbase-2.2.0
./configure --prefix=/opt/testbuild --with-boost-include-dir=/opt/testbuild/include --with-boost-lib-dir=/opt/testbuild/lib
make
make install
Then test (assuming python 2.7)
export PYTHONPATH=/opt/testbuild/lib/python2.7/site-packages/:${PYTHONPATH}
python
>>> import imath
>>> print imath.__file__
That should work without errors, and give you the location of the
imathmodule.so you just installed.
Good luck!
Peter
On 11/01/18 02:40, Forum (io) wrote:
>
> Hello,
>
> I am still blocked with this issue.
>
> Someone could help?
>
> Many thank
>
> <br><br>---
> The Internet of Things, think smart idea!<br>
> Les capteurs connectés<br>
> <a href="http://www.smart-idea.io">http://www.smart-idea.io</a><br><br>
> On 12/28/17 11:46 AM, Forum (io) wrote:
>>
>> Here is my error message
>>
>> 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
>> ***
>> *** Flags used by the test:
>> *** cflags: -I/opt/pyilmbase-2-2-0/include/OpenEXR -g -O2
>> *** ldflags: -L/opt/pyilmbase-2-2-0/lib
>> ***
>> *** You can also run configure with --disable-ilmbasetest to skip
>> this test
>>
>>
>> When I run
>>
>> sudo ./configure --prefix=/opt/pyilmbase-2-2-0
>>
>>
>> IS there no a way to include as it's done with LUA?
>>
>> export LUA_INCLUDE_DIR=/opt/lua53/include
>>
>> like
>>
>> export xxx_INCLUDE_DIR=/opt/pyilmbase-2-2-0/include
>>
>> Cheers
>>
>> Pierre
>>
>> On 12/23/17 2:07 PM, Piotr Stanczyk wrote:
>>> Hi
>>> Did you set the LD_LIBRARY_PATH as suggested?
>>>
>>> On Fri, Dec 22, 2017 at 11:04 AM Forum (io) <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>
>>> Hello All,
>>>
>>> I still have pain to install and I can not complete my task even
>>> if it's better.
>>>
>>> I finally could install boost as a share without error. Here is
>>> how I did:
>>>
>>> wget
>>> https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz
>>> tar zxf boost_1_65_1.tar.gz
>>> cd boost_1.65.1
>>> sudo ./bootstrap.sh --prefix=/opt/boost_1.65.1
>>> sudo ./b2 install address-model=64 variant=release
>>> threading=multi link=shared
>>>
>>> Then I came back to my pyilambase installation with new issue.
>>> Now it is not complaining about python/boost but about ilambase.
>>>
>>> Could you help me?
>>>
>>> Here are my try and the printed error:
>>>
>>> tar zxf pyilmbase-2.2.0.tar.gz
>>> cd pyilmbase-2.2.0
>>> /sudo ./configure --prefix=/opt/pyilmbase-2-2-0
>>> --with-boost-include-dir=/opt/boost_1.65.1/include
>>> --with-boost-lib-dir=/opt/boost_1.65.1/lib/
>>>
>>> but this print this error message
>>>
>>> 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? (before it was Is boost installed?)
>>> *** Check that the cflags (below) includes the IlmBase include
>>> directory
>>>
>>>
>>> ***
>>> *** Flags used by the test:
>>>
>>> *** cflags: -I/opt/pyilmbase-2-2-0/include/OpenEXR -g -O2
>>> *** ldflags: -L/opt/pyilmbase-2-2-0/lib
>>> ***
>>> *** You can also run configure with --disable-ilmbasetest to
>>> skip this test.
>>> configure: error: Could not compile IlmBase test program.
>>>
>>>
>>> Then I remember, some of you propose me to install in the same
>>> directory of ilmbase and it what I tried with another error messgae:
>>>
>>> tar zxf pyilmbase-2.2.0.tar.gz
>>> cd pyilmbase-2.2.0
>>> /sudo ./configure --prefix=/opt/ilmbase-2-2-0
>>> --with-boost-include-dir=/opt/boost_1.65.1/include
>>> --with-boost-lib-dir=/opt/boost_1.65.1/lib/
>>>
>>>
>>> Here is the error message I got
>>>
>>> No package 'IlmBase' found
>>> using prefix to set ILMBASE_CXXFLAGS and ILMBASE_LDFLAGS:
>>> ILMBASE_CXXFLAGS = -I/opt/ilmbase-2-2-0/include/OpenEXR
>>> ILMBASE_LDFLAGS = -L/opt/ilmbase-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 compiled and staticly linked, but did not
>>> run. This
>>> *** usually means that the run-time linker is not finding
>>> IlmBase or finding
>>> *** the wrong version of IlmBase.
>>> ***
>>> *** If the linker is not finding IlmBase, you'll need to set your
>>> *** LD_LIBRARY_PATH environment variable, or edit
>>> /etc/ld.so.conf to point
>>> *** to the installed location Also, make sure you have run
>>> ldconfig if that
>>> *** is required on your system.
>>>
>>>
>>> ***
>>> *** Flags used by the test:
>>>
>>> *** cflags: -I/opt/ilmbase-2-2-0/include/OpenEXR -g -O2
>>> *** ldflags: -L/opt/ilmbase-2-2-0/lib
>>> ***
>>> *** You can also run configure with --disable-ilmbasetest to
>>> skip this test.
>>> configure: error: Could not compile IlmBase test program.
>>>
>>>
>>> So if I instally pyilmbase into ilmbase, how can tell to
>>> pyilmbase, where is ilmbase?
>>>
>>> What did I wrong? Do you know what can help me?
>>>
>>>
>>> Many thank for your help
>>>
>>> Cheers
>>>
>>>
>>> On 12/7/17 11:18 AM, Forum (io) wrote:
>>>>
>>>> Dear Peter and all community member
>>>>
>>>> Thank a lot for your reply.
>>>>
>>>> Today, I have to spend time on my issues that I still can not
>>>> solved. To be honnestly, I can not remember, why I could not
>>>> install pyilmbase2-2- on the same folder of ilam...
>>>>
>>>> However, your last e-mail has some important information that I
>>>> need to solve first.
>>>>
>>>> To resume, I download ilam2.2.0 into a "downlaod" folder and I
>>>> untar it, I cd into pyilmbase-2-2-0 in order to compile. First
>>>> I simply run that command
>>>>
>>>> /$ ./compile --prefix=/opt/pyilmbase2-2-0/
>>>>
>>>> I also "accidently" run this command
>>>>
>>>> /$ ./compile --prefix=/opt/ilmbase2-2-0/
>>>>
>>>> Both display this message/
>>>> /
>>>>
>>>> /checking for boost::python... no
>>>> *** Could not run the boost::python test program, checking why...
>>>> *** The test program could not be compiled. Is boost::python
>>>> installed?
>>>> *** Check that the cflags (below) includes the boost::python
>>>> include directory
>>>> ***
>>>> *** Flags used by the test:
>>>> *** cflags: -g -O2 -I/usr/include/python2.7 -g -O2
>>>> -I/usr/include/python2.7
>>>> *** ldflags: -L/opt/ilmbase-2-2-0/lib -L/usr/lib64
>>>> -L/opt/ilmbase-2-2-0/lib -L/usr/lib64
>>>> ***
>>>> *** You can also run configure with --disable-boostpythontest
>>>> to skip this test.
>>>> configure: error: Could not compile boost::python test program.
>>>> /
>>>>
>>>> You mentioned to check if boost has been installed/. /Yes, I
>>>> did itwithout issues. I installed boost 1.65.1 into
>>>> /opt/boost_1.65.1
>>>> You also mentionned to try this following command, which
>>>> indicated where is boost installation
>>>>
>>>> /$ ./configure --prefix=/opt/pyilmbase-2-2-0
>>>> --with-boost-include-dir=/opt/boost_1.65.1/include
>>>> --with-boost-lib-dir=/opt/boost_1.65.1/lib/
>>>>
>>>> which look now really better, as_I do not_ have the error
>>>> message, starting with
>>>>
>>>> /checking for boost::python... no
>>>> *** Could not run the boost::python test program, checking why...
>>>> *** The test program could not be compiled. Is boost::python
>>>> installed?/
>>>>
>>>> As I can not find tutorial or example of pyilmbase
>>>> installation, I run the following command from pyilmbase2-2-0
>>>> untar-ed folder, just after the ./compile command
>>>>
>>>> # make
>>>>
>>>> which shown me errors :o(
>>>>
>>>> *Before shwoing the error*, note that into the /etc/bashrc
>>>> file, I save the following line
>>>>
>>>> /export PATH=/opt/lua53/bin:$PATH//
>>>> //
>>>> //#export LD_LIBRARY_PATH=/opt/lua53/lib:$LD_LIBRARY_PATH//
>>>> //export LD_LIBRARY_PATH=/opt/lua53/lib:/opt/ilmbase-2-2-0/lib//
>>>> //
>>>> //export LUA_INCLUDE_DIR=/opt/lua53/include//
>>>> //export LUA_LIBRARIES=/opt/lua53/lib//
>>>> //
>>>> //export PKG_CONFIG_PATH=/opt/ilmbase-2-2-0/lib/pkgconfig/
>>>>
>>>>
>>>> Nothing is about boost. Is it important?
>>>>
>>>> Here is the error message generated by /make/ from
>>>> pyilmbase-2-2-0 folder:
>>>>
>>>>
>>>> /[root@pc6 pyilmbase-2.2.0]# make
>>>> Making all in config
>>>> make[1]: Entering directory
>>>> `/root/install-package/OpenEXR/pyilmbase-2.2.0/config'
>>>> make all-am
>>>> make[2]: Entering directory
>>>> `/root/install-package/OpenEXR/pyilmbase-2.2.0/config'
>>>> make[2]: Leaving directory
>>>> `/root/install-package/OpenEXR/pyilmbase-2.2.0/config'
>>>> make[1]: Leaving directory
>>>> `/root/install-package/OpenEXR/pyilmbase-2.2.0/config'
>>>> Making all in PyIex
>>>> make[1]: Entering directory
>>>> `/root/install-package/OpenEXR/pyilmbase-2.2.0/PyIex'
>>>> /bin/sh ../libtool --tag=CXX --mode=compile g++
>>>> -DHAVE_CONFIG_H -I. -I../config -pthread
>>>> -I/opt/ilmbase-2-2-0/include/OpenEXR -I.. -I../config -pipe
>>>> -g -O2 -I/opt/boost_1.65.1/include -I/usr/include/python2.7 -MT
>>>> PyIex.lo -MD -MP -MF .deps/PyIex.Tpo -c -o PyIex.lo PyIex.cpp
>>>> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config -pthread
>>>> -I/opt/ilmbase-2-2-0/include/OpenEXR -I.. -I../config -pipe -g
>>>> -O2 -I/opt/boost_1.65.1/include -I/usr/include/python2.7 -MT
>>>> PyIex.lo -MD -MP -MF .deps/PyIex.Tpo -c PyIex.cpp -fPIC -DPIC
>>>> -o .libs/PyIex.o
>>>> In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>>> from /usr/include/python2.7/Python.h:8,
>>>> from ./PyIex.h:45,
>>>> from PyIex.cpp:42:
>>>> /usr/include/python2.7/pyconfig-64.h:1188:0: warning:
>>>> "_POSIX_C_SOURCE" redefined [enabled by default]
>>>> #define _POSIX_C_SOURCE 200112L
>>>> ^
>>>> In file included from
>>>> /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/os_defines.h:39:0,
>>>> from
>>>> /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h:2097,
>>>> from /usr/include/c++/4.8.2/iosfwd:38,
>>>> from /usr/include/c++/4.8.2/ios:38,
>>>> from /usr/include/c++/4.8.2/istream:38,
>>>> from /usr/include/c++/4.8.2/sstream:38,
>>>> from ./PyIex.h:44,
>>>> from PyIex.cpp:42:
>>>> /usr/include/features.h:168:0: note: this is the location of
>>>> the previous definition
>>>> # define _POSIX_C_SOURCE 200809L
>>>> ^
>>>> In file included from /usr/include/python2.7/pyconfig.h:6:0,
>>>> from /usr/include/python2.7/Python.h:8,
>>>> from ./PyIex.h:45,
>>>> from PyIex.cpp:42:
>>>> /usr/include/python2.7/pyconfig-64.h:1210:0: warning:
>>>> "_XOPEN_SOURCE" redefined [enabled by default]
>>>> #define _XOPEN_SOURCE 600
>>>> ^
>>>> In file included from
>>>> /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/os_defines.h:39:0,
>>>> from
>>>> /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h:2097,
>>>> from /usr/include/c++/4.8.2/iosfwd:38,
>>>> from /usr/include/c++/4.8.2/ios:38,
>>>> from /usr/include/c++/4.8.2/istream:38,
>>>> from /usr/include/c++/4.8.2/sstream:38,
>>>> from ./PyIex.h:44,
>>>> from PyIex.cpp:42:
>>>> /usr/include/features.h:170:0: note: this is the location of
>>>> the previous definition
>>>> # define _XOPEN_SOURCE 700
>>>> ^
>>>> mv -f .deps/PyIex.Tpo .deps/PyIex.Plo
>>>> /bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2
>>>> -I/opt/boost_1.65.1/include -I/usr/include/python2.7
>>>> -version-info 2:2:0 -no-undefined -L/opt/ilmbase-2-2-0/lib
>>>> -L/opt/boost_1.65.1/lib -L/usr/lib64 -o libPyIex.la -rpath
>>>> /opt/pyilmbase-2-2-0/lib PyIex.lo -lz -pthread
>>>> -L/opt/ilmbase-2-2-0/lib -lImath -lHalf -lIex -lIexMath
>>>> -lIlmThread -lboost_python -lpython2.7
>>>> libtool: link: g++ -shared -nostdlib
>>>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o
>>>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginS.o
>>>> .libs/PyIex.o -Wl,-rpath -Wl,/opt/ilmbase-2-2-0/lib -Wl,-rpath
>>>> -Wl,/opt/ilmbase-2-2-0/lib -L/opt/ilmbase-2-2-0/lib
>>>> -L/opt/boost_1.65.1/lib -L/usr/lib64 -lz
>>>> /opt/ilmbase-2-2-0/lib/libImath.so
>>>> /opt/ilmbase-2-2-0/lib/libHalf.so
>>>> /opt/ilmbase-2-2-0/lib/libIexMath.so
>>>> /opt/ilmbase-2-2-0/lib/libIlmThread.so
>>>> /opt/ilmbase-2-2-0/lib/libIex.so -lboost_python -lpython2.7
>>>> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5
>>>> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64
>>>> -L/lib/../lib64 -L/usr/lib/../lib64
>>>> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lstdc++ -lm
>>>> -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtendS.o
>>>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o
>>>> -pthread -pthread -Wl,-soname -Wl,libPyIex.so.2 -o
>>>> .libs/libPyIex.so.2.0.2
>>>> libtool: link: (cd ".libs" && rm -f "libPyIex.so.2" && ln -s
>>>> "libPyIex.so.2.0.2" "libPyIex.so.2")
>>>> libtool: link: (cd ".libs" && rm -f "libPyIex.so" && ln -s
>>>> "libPyIex.so.2.0.2" "libPyIex.so")
>>>> libtool: link: ( cd ".libs" && rm -f "libPyIex.la" && ln -s
>>>> "../libPyIex.la" "libPyIex.la" )
>>>> /bin/sh ../libtool --tag=CXX --mode=compile g++
>>>> -DHAVE_CONFIG_H -I. -I../config -pthread
>>>> -I/opt/ilmbase-2-2-0/include/OpenEXR -I.. -I../config -pipe
>>>> -g -O2 -I/opt/boost_1.65.1/include -I/usr/include/python2.7 -MT
>>>> iexmodule.lo -MD -MP -MF .deps/iexmodule.Tpo -c -o iexmodule.lo
>>>> iexmodule.cpp
>>>> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config -pthread
>>>> -I/opt/ilmbase-2-2-0/include/OpenEXR -I.. -I../config -pipe -g
>>>> -O2 -I/opt/boost_1.65.1/include -I/usr/include/python2.7 -MT
>>>> iexmodule.lo -MD -MP -MF .deps/iexmodule.Tpo -c iexmodule.cpp
>>>> -fPIC -DPIC -o .libs/iexmodule.o
>>>> mv -f .deps/iexmodule.Tpo .deps/iexmodule.Plo
>>>> /bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2
>>>> -I/opt/boost_1.65.1/include -I/usr/include/python2.7
>>>> -avoid-version -module -L/opt/ilmbase-2-2-0/lib
>>>> -L/opt/boost_1.65.1/lib -L/usr/lib64 -o iexmodule.la
>>>> <http://iexmodule.la> -rpath
>>>> /opt/pyilmbase-2-2-0/lib64/python2.7/site-packages iexmodule.lo
>>>> libPyIex.la -lboost_python -lpython2.7
>>>> libtool: link: g++ -shared -nostdlib
>>>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o
>>>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginS.o
>>>> .libs/iexmodule.o -Wl,-rpath
>>>> -Wl,/root/install-package/OpenEXR/pyilmbase-2.2.0/PyIex/.libs
>>>> -Wl,-rpath -Wl,/opt/ilmbase-2-2-0/lib -Wl,-rpath
>>>> -Wl,/opt/pyilmbase-2-2-0/lib -Wl,-rpath
>>>> -Wl,/opt/ilmbase-2-2-0/lib -L/opt/ilmbase-2-2-0/lib
>>>> -L/opt/boost_1.65.1/lib -L/usr/lib64 ./.libs/libPyIex.so -lz
>>>> /opt/ilmbase-2-2-0/lib/libImath.so
>>>> /opt/ilmbase-2-2-0/lib/libHalf.so
>>>> /opt/ilmbase-2-2-0/lib/libIexMath.so
>>>> /opt/ilmbase-2-2-0/lib/libIlmThread.so
>>>> /opt/ilmbase-2-2-0/lib/libIex.so -lboost_python -lpython2.7
>>>> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5
>>>> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64
>>>> -L/lib/../lib64 -L/usr/lib/../lib64
>>>> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lstdc++ -lm
>>>> -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtendS.o
>>>> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o
>>>> -pthread -Wl,-soname -Wl,iexmodule.so -o .libs/iexmodule.so
>>>> /usr/bin/ld: /opt/boost_1.65.1/lib/libboost_python.a(dict.o):
>>>> relocation R_X86_64_32 against `.rodata.str1.1' can not be used
>>>> when making a shared object; recompile with -fPIC
>>>> /opt/boost_1.65.1/lib/libboost_python.a: error adding symbols:
>>>> Bad value
>>>> collect2: error: ld returned 1 exit status
>>>> make[1]: *** [iexmodule.la <http://iexmodule.la>] Error 1
>>>> make[1]: Leaving directory
>>>> `/root/install-package/OpenEXR/pyilmbase-2.2.0/PyIex'
>>>> make: *** [all-recursive] Error 1
>>>> [root@pc6 pyilmbase-2.2.0]# /
>>>>
>>>>
>>>> I wonder, if there is an official procedure to install
>>>> pyilmbase-2.2.0
>>>>
>>>> *I also observed a file name**install-sh. How can that file can
>>>> be usefull for the installation?*
>>>>
>>>> You also spoke about installing into the same folder of
>>>> ilmbase-2-2-0. What would you change regarding my about steps?
>>>> To be honst with you, last week I tried but I do not rember
>>>> why, I finally soecified a folder dedicated for pyilmbase2-2-0
>>>> in /opt/
>>>>
>>>>
>>>> Many many thank for your help and help from openexr community.
>>>>
>>>> Cheers
>>>> Pierrot
>>>>
>>>> /
>>>> /
>>>>
>>>> On 12/1/17 1:21 AM, Peter Hillman wrote:
>>>>> ./configure --prefix=/opt/ilmbase-2-2-0
>>>>> --with-boost-include-dir=/opt/boost/include
>>>>> --with-boost-lib-dir=/opt/boost/lib
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Openexr-devel mailing list
>>>> [email protected] <mailto:[email protected]>
>>>> https://lists.nongnu.org/mailman/listinfo/openexr-devel
>>>
>>> _______________________________________________
>>> Openexr-devel mailing list
>>> [email protected] <mailto:[email protected]>
>>> https://lists.nongnu.org/mailman/listinfo/openexr-devel
>>>
>>
>>
>>
>> _______________________________________________
>> Openexr-devel mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/openexr-devel
>
>
>
> _______________________________________________
> Openexr-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/openexr-devel
--------------F271B8436E748CF77A095AE1
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I'm confused over where you have things installed. It looks like
you have some things in /opt/pyilmbase-2-2-0/ and others in
/opt/ilmbase-2-2-0/, but I'm not sure whether you are passing
information to your configure scripts to specify the locations of
dependent libraries.<br>
</p>
<p>Perhaps you could try starting again, installing everything into
the same folder, say /opt/testbuild. You could at least to try
this to see if you can get it working first even if you do
something else later. Remove all the old install folders and also
the source folders you previously used for attempts to compile
ilmbase, pyilmbase, and boost, re-extracting from the downloaded
tar.gz files into new folders. This will stop old files created
with different configurations interfering with the build.</p>
<p>Before you start to install, <br>
</p>
<pre>export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/testbuild/lib/pkgconfig
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/testbuild/lib/</pre>
<p>The first of these tells the configure scripts where to find the
package configuration information for ilmbase once it's installed.
The second tells the runtime linker where to load the shared
libraries you have installed. The configure scripts will need this
when they test that the required libraries are working.<br>
</p>
<p>Make /opt/testbuild, and make it writable to your ordinary user
account (so you don't need to install as root)</p>
<pre>sudo mkdir -m a=rwx /opt/testbuild
</pre>
<p>Install boost into it:<br>
</p>
<pre>tar xf boost_1_65_1.tar.gz
cd boost_1_65_1
./bootstrap.sh --prefix=/opt/testbuild
./b2 install address-model=64 variant=release threading=multi link=shared</pre>
<p>Now do ilmbase:<br>
</p>
<pre>tar xf ilmbase-2.2.0.tar.gz
cd ilmbase-2.2.0
./configure --prefix=/opt/testbuild
make
make install
</pre>
<p>Finally pyilmbase:<br>
</p>
<pre>tar xf pyilmbase-2.2.0.tar.gz
cd pyilmbase-2.2.0
./configure --prefix=/opt/testbuild --with-boost-include-dir=/opt/testbuild/include --with-boost-lib-dir=/opt/testbuild/lib
make
make install
</pre>
Then test (assuming python 2.7)<br>
<pre>export PYTHONPATH=/opt/testbuild/lib/python2.7/site-packages/:${PYTHONPATH}
python
>>> import imath
>>> print imath.__file__
</pre>
That should work without errors, and give you the location of the
imathmodule.so you just installed.<br>
<br>
Good luck!<br>
Peter<br>
<br>
<div class="moz-cite-prefix">On 11/01/18 02:40, Forum (io) wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>Hello,</p>
<p>I am still blocked with this issue.</p>
<p>Someone could help?</p>
<p>Many thank<br>
</p>
<pre class="moz-signature" cols="72"><br><br>---
The Internet of Things, think smart idea!<br>
Les capteurs connectés<br>
<a href=<a class="moz-txt-link-rfc2396E" href="http://www.smart-idea.io" moz-do-not-send="true">"http://www.smart-idea.io"</a>><a class="moz-txt-link-freetext" href="http://www.smart-idea.io" moz-do-not-send="true">http://www.smart-idea.io</a></a><br><br>
</pre>
<div class="moz-cite-prefix">On 12/28/17 11:46 AM, Forum (io)
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<p>Here is my error message</p>
<p><font color="#ff0000">No package 'IlmBase' found<br>
using prefix to set ILMBASE_CXXFLAGS and ILMBASE_LDFLAGS:<br>
ILMBASE_CXXFLAGS =
-I/opt/pyilmbase-2-2-0/include/OpenEXR<br>
ILMBASE_LDFLAGS = -L/opt/pyilmbase-2-2-0/lib<br>
ILMBASE_LIBS = -lImath -lHalf -lIex -lIexMath
-lIlmThread -lpthread<br>
checking for IlmBase... no<br>
<b>*** Could not run the IlmBase test program, checking
why...</b><b><br>
</b><b>*** The test program could not be compiled. Is
IlmBase installed?</b><br>
*** Check that the cflags (below) includes the IlmBase
include directory<br>
***<br>
*** Flags used by the test:<br>
*** cflags: -I/opt/pyilmbase-2-2-0/include/OpenEXR -g
-O2 <br>
*** ldflags: -L/opt/pyilmbase-2-2-0/lib <br>
***<br>
*** You can also run configure with --disable-ilmbasetest to
skip this test</font></p>
<p><font color="#ff0000"><br>
</font></p>
<p>When I run</p>
<p><font color="#ff0000">sudo ./configure
--prefix=/opt/pyilmbase-2-2-0</font></p>
<p><br>
</p>
<p>IS there no a way to include as it's done with LUA?</p>
<p><font color="#ff0000">export
LUA_INCLUDE_DIR=/opt/lua53/include</font></p>
<p>like</p>
<p><font color="#ff0000">export
xxx_INCLUDE_DIR=/opt/pyilmbase-2-2-0/include</font><br>
</p>
<p>Cheers</p>
<p><font color="#ff0000"><font color="#000000">Pierre</font><br>
</font> </p>
<div class="moz-cite-prefix">On 12/23/17 2:07 PM, Piotr Stanczyk
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALVgk2qNE=5hYiNwU=bRF2k-+=DCryX83FV_NFv4iVD54PmA1Q@mail.gmail.com">
<div>
<div dir="auto">Hi</div>
<div dir="auto">Did you set the LD_LIBRARY_PATH as
suggested?</div>
<br>
<div class="gmail_quote">
<div>On Fri, Dec 22, 2017 at 11:04 AM Forum (io) <<a
href="mailto:[email protected]"
moz-do-not-send="true">[email protected]</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hello All,<br>
<br>
I still have pain to install and I can not complete
my task even if it's better.</p>
<p>I finally could install boost as a share without
error. Here is how I did:</p>
<p><font color="#006600">wget <a
class="m_7188596615846419669moz-txt-link-freetext"
href="https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz"
target="_blank" moz-do-not-send="true">https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz</a><br>
tar zxf boost_1_65_1.tar.gz<br>
cd boost_1.65.1<br>
sudo ./bootstrap.sh --prefix=/opt/boost_1.65.1<br>
sudo ./b2 install address-model=64 variant=release
threading=multi link=shared</font><br>
</p>
<p>Then I came back to my pyilambase installation with
new issue. Now it is not complaining about
python/boost but about ilambase.</p>
<p>Could you help me?</p>
<p>Here are my try and the printed error:</p>
<p><font color="#006600">tar zxf
pyilmbase-2.2.0.tar.gz<br>
cd pyilmbase-2.2.0<br>
<i>sudo ./configure --prefix=/opt/pyilmbase-2-2-0
--with-boost-include-dir=/opt/boost_1.65.1/include
--with-boost-lib-dir=/opt/boost_1.65.1/lib</i></font></p>
<p>but this print this error message</p>
<p><font color="#ff0000">No package 'IlmBase' found<br>
using prefix to set ILMBASE_CXXFLAGS and
ILMBASE_LDFLAGS:<br>
ILMBASE_CXXFLAGS =
-I/opt/pyilmbase-2-2-0/include/OpenEXR<br>
ILMBASE_LDFLAGS = -L/opt/pyilmbase-2-2-0/lib<br>
ILMBASE_LIBS = -lImath -lHalf -lIex -lIexMath
-lIlmThread -lpthread<br>
checking for IlmBase... no<br>
*** Could not run the IlmBase test program,
checking why...<br>
*** The test program could not be compiled. Is
IlmBase installed? <font color="#000000">(before
it was Is boost installed?)</font><br>
*** Check that the cflags (below) includes the
IlmBase include directory</font></p>
</div>
<div text="#000000" bgcolor="#FFFFFF">
<p><font color="#ff0000"><br>
***<br>
*** Flags used by the test:<br>
</font></p>
</div>
<div text="#000000" bgcolor="#FFFFFF">
<p><font color="#ff0000"> *** cflags:
-I/opt/pyilmbase-2-2-0/include/OpenEXR -g -O2 <br>
*** ldflags: -L/opt/pyilmbase-2-2-0/lib <br>
***<br>
*** You can also run configure with
--disable-ilmbasetest to skip this test.<br>
configure: error: Could not compile IlmBase test
program.</font><br>
</p>
<p><br>
</p>
<p>Then I remember, some of you propose me to install
in the same directory of ilmbase and it what I tried
with another error messgae:</p>
<p><font color="#006600">tar zxf
pyilmbase-2.2.0.tar.gz<br>
cd pyilmbase-2.2.0<br>
<i>sudo ./configure --prefix=/opt/ilmbase-2-2-0
--with-boost-include-dir=/opt/boost_1.65.1/include
--with-boost-lib-dir=/opt/boost_1.65.1/lib</i></font></p>
<p><br>
Here is the error message I got</p>
<p><font color="#ff0000">No package 'IlmBase' found<br>
using prefix to set ILMBASE_CXXFLAGS and
ILMBASE_LDFLAGS:<br>
ILMBASE_CXXFLAGS =
-I/opt/ilmbase-2-2-0/include/OpenEXR<br>
ILMBASE_LDFLAGS = -L/opt/ilmbase-2-2-0/lib<br>
ILMBASE_LIBS = -lImath -lHalf -lIex -lIexMath
-lIlmThread -lpthread<br>
checking for IlmBase... no<br>
*** Could not run the IlmBase test program,
checking why...<br>
*** The test program compiled and staticly linked,
but did not run. This <br>
*** usually means that the run-time linker is not
finding IlmBase or finding<br>
*** the wrong version of IlmBase.<br>
***<br>
*** If the linker is not finding IlmBase, you'll
need to set your<br>
*** LD_LIBRARY_PATH environment variable, or edit
/etc/ld.so.conf to point<br>
*** to the installed location Also, make sure you
have run ldconfig if that<br>
*** is required on your system.</font></p>
</div>
<div text="#000000" bgcolor="#FFFFFF">
<p><font color="#ff0000"><br>
***<br>
*** Flags used by the test:<br>
</font></p>
</div>
<div text="#000000" bgcolor="#FFFFFF">
<p><font color="#ff0000"> *** cflags:
-I/opt/ilmbase-2-2-0/include/OpenEXR -g -O2 <br>
*** ldflags: -L/opt/ilmbase-2-2-0/lib <br>
***<br>
*** You can also run configure with
--disable-ilmbasetest to skip this test.<br>
configure: error: Could not compile IlmBase test
program.</font><br>
</p>
<p><br>
</p>
<p>So if I instally pyilmbase into ilmbase, how can
tell to pyilmbase, where is ilmbase?<br>
</p>
<p>What did I wrong? Do you know what can help me?</p>
<p><br>
</p>
<p>Many thank for your help</p>
<p>Cheers</p>
</div>
<div text="#000000" bgcolor="#FFFFFF"> <br>
<div class="m_7188596615846419669moz-cite-prefix">On
12/7/17 11:18 AM, Forum (io) wrote:<br>
</div>
<blockquote type="cite">
<p>Dear Peter and all community member<br>
</p>
<p>Thank a lot for your reply.</p>
<p>Today, I have to spend time on my issues that I
still can not solved. To be honnestly, I can not
remember, why I could not install pyilmbase2-2- on
the same folder of ilam...</p>
<p>However, your last e-mail has some important
information that I need to solve first.</p>
<p>To resume, I download ilam2.2.0 into a "downlaod"
folder and I untar it, I cd into pyilmbase-2-2-0
in order to compile. First I simply run that
command</p>
<p><i>$ ./compile --prefix=/opt/pyilmbase2-2-0</i><br>
</p>
<p>I also "accidently" run this command<br>
</p>
<p><i>$ ./compile --prefix=/opt/ilmbase2-2-0</i></p>
<p>Both display this message<i><br>
</i></p>
<p><i><font color="#ff0000">checking for
boost::python... no<br>
*** Could not run the boost::python test
program, checking why...<br>
*** The test program could not be compiled.
Is boost::python installed?<br>
*** Check that the cflags (below) includes the
boost::python include directory<br>
***<br>
*** Flags used by the test:<br>
*** cflags: -g -O2
-I/usr/include/python2.7 -g -O2
-I/usr/include/python2.7 <br>
*** ldflags: -L/opt/ilmbase-2-2-0/lib
-L/usr/lib64 -L/opt/ilmbase-2-2-0/lib
-L/usr/lib64<br>
***<br>
*** You can also run configure with
--disable-boostpythontest to skip this test.<br>
configure: error: Could not compile
boost::python test program.</font><br>
</i></p>
<p>You mentioned to check if boost has been
installed<i>. </i><font color="#009900">Yes, I
did it<font color="#000000"> without issues. I
installed boost 1.65.1 into /opt/boost_1.65.1<br>
You also mentionned to try this following
command, which indicated where is boost
installation</font></font></p>
<p><font color="#009900"><font color="#000000"><i>$
./configure --prefix=/opt/pyilmbase-2-2-0
--with-boost-include-dir=/opt/boost_1.65.1/include
--with-boost-lib-dir=/opt/boost_1.65.1/lib</i><br>
</font></font></p>
<p><font color="#009900"><font color="#000000">which
look now really better, as<font
color="#006600"> <u>I do not</u> have</font>
the error message, starting with</font></font></p>
<p><i><font color="#ff0000">checking for
boost::python... no<br>
*** Could not run the boost::python test
program, checking why...<br>
*** The test program could not be compiled.
Is boost::python installed?</font></i></p>
<p>As I can not find tutorial or example of
pyilmbase installation, I run the following
command from pyilmbase2-2-0 untar-ed folder, just
after the ./compile command</p>
<p># make</p>
<p>which shown me errors :o(</p>
<p><b>Before shwoing the error</b>, note that into
the /etc/bashrc file, I save the following line</p>
<p><font color="#cc33cc"><i>export
PATH=/opt/lua53/bin:$PATH</i><i><br>
</i><i><br>
</i><i>#export
LD_LIBRARY_PATH=/opt/lua53/lib:$LD_LIBRARY_PATH</i><i><br>
</i><i>export
LD_LIBRARY_PATH=/opt/lua53/lib:/opt/ilmbase-2-2-0/lib</i><i><br>
</i><i><br>
</i><i>export LUA_INCLUDE_DIR=/opt/lua53/include</i><i><br>
</i><i>export LUA_LIBRARIES=/opt/lua53/lib</i><i><br>
</i><i><br>
</i><i>export
PKG_CONFIG_PATH=/opt/ilmbase-2-2-0/lib/pkgconfig</i></font></p>
<p><br>
</p>
<p>Nothing is about boost. Is it important?</p>
<p>Here is the error message generated by <i>make</i>
from pyilmbase-2-2-0 folder:<br>
</p>
<p><br>
</p>
<p><i><font color="#993399">[root@pc6
pyilmbase-2.2.0]# make<br>
Making all in config<br>
make[1]: Entering directory
`/root/install-package/OpenEXR/pyilmbase-2.2.0/config'<br>
make all-am<br>
make[2]: Entering directory
`/root/install-package/OpenEXR/pyilmbase-2.2.0/config'<br>
make[2]: Leaving directory
`/root/install-package/OpenEXR/pyilmbase-2.2.0/config'<br>
make[1]: Leaving directory
`/root/install-package/OpenEXR/pyilmbase-2.2.0/config'<br>
Making all in PyIex<br>
make[1]: Entering directory
`/root/install-package/OpenEXR/pyilmbase-2.2.0/PyIex'<br>
/bin/sh ../libtool --tag=CXX --mode=compile
g++ -DHAVE_CONFIG_H -I. -I../config -pthread
-I/opt/ilmbase-2-2-0/include/OpenEXR -I..
-I../config -pipe -g -O2
-I/opt/boost_1.65.1/include
-I/usr/include/python2.7 -MT PyIex.lo -MD -MP
-MF .deps/PyIex.Tpo -c -o PyIex.lo PyIex.cpp<br>
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../config -pthread
-I/opt/ilmbase-2-2-0/include/OpenEXR -I..
-I../config -pipe -g -O2
-I/opt/boost_1.65.1/include
-I/usr/include/python2.7 -MT PyIex.lo -MD -MP
-MF .deps/PyIex.Tpo -c PyIex.cpp -fPIC -DPIC
-o .libs/PyIex.o<br>
In file included from
/usr/include/python2.7/pyconfig.h:6:0,<br>
from
/usr/include/python2.7/Python.h:8,<br>
from ./PyIex.h:45,<br>
from PyIex.cpp:42:<br>
/usr/include/python2.7/pyconfig-64.h:1188:0:
warning: "_POSIX_C_SOURCE" redefined [enabled
by default]<br>
#define _POSIX_C_SOURCE 200112L<br>
^<br>
In file included from
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/os_defines.h:39:0,<br>
from
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h:2097,<br>
from
/usr/include/c++/4.8.2/iosfwd:38,<br>
from
/usr/include/c++/4.8.2/ios:38,<br>
from
/usr/include/c++/4.8.2/istream:38,<br>
from
/usr/include/c++/4.8.2/sstream:38,<br>
from ./PyIex.h:44,<br>
from PyIex.cpp:42:<br>
/usr/include/features.h:168:0: note: this is
the location of the previous definition<br>
# define _POSIX_C_SOURCE 200809L<br>
^<br>
In file included from
/usr/include/python2.7/pyconfig.h:6:0,<br>
from
/usr/include/python2.7/Python.h:8,<br>
from ./PyIex.h:45,<br>
from PyIex.cpp:42:<br>
/usr/include/python2.7/pyconfig-64.h:1210:0:
warning: "_XOPEN_SOURCE" redefined [enabled by
default]<br>
#define _XOPEN_SOURCE 600<br>
^<br>
In file included from
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/os_defines.h:39:0,<br>
from
/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h:2097,<br>
from
/usr/include/c++/4.8.2/iosfwd:38,<br>
from
/usr/include/c++/4.8.2/ios:38,<br>
from
/usr/include/c++/4.8.2/istream:38,<br>
from
/usr/include/c++/4.8.2/sstream:38,<br>
from ./PyIex.h:44,<br>
from PyIex.cpp:42:<br>
/usr/include/features.h:170:0: note: this is
the location of the previous definition<br>
# define _XOPEN_SOURCE 700<br>
^<br>
mv -f .deps/PyIex.Tpo .deps/PyIex.Plo<br>
/bin/sh ../libtool --tag=CXX --mode=link g++
-pipe -g -O2 -I/opt/boost_1.65.1/include
-I/usr/include/python2.7 -version-info 2:2:0
-no-undefined -L/opt/ilmbase-2-2-0/lib
-L/opt/boost_1.65.1/lib -L/usr/lib64 -o
libPyIex.la -rpath /opt/pyilmbase-2-2-0/lib
PyIex.lo -lz -pthread -L/opt/ilmbase-2-2-0/lib
-lImath -lHalf -lIex -lIexMath -lIlmThread
-lboost_python -lpython2.7<br>
libtool: link: g++ -shared -nostdlib
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginS.o .libs/PyIex.o
-Wl,-rpath -Wl,/opt/ilmbase-2-2-0/lib
-Wl,-rpath -Wl,/opt/ilmbase-2-2-0/lib
-L/opt/ilmbase-2-2-0/lib
-L/opt/boost_1.65.1/lib -L/usr/lib64 -lz
/opt/ilmbase-2-2-0/lib/libImath.so
/opt/ilmbase-2-2-0/lib/libHalf.so
/opt/ilmbase-2-2-0/lib/libIexMath.so
/opt/ilmbase-2-2-0/lib/libIlmThread.so
/opt/ilmbase-2-2-0/lib/libIex.so
-lboost_python -lpython2.7
-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5
-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..
-lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o
-pthread -pthread -Wl,-soname
-Wl,libPyIex.so.2 -o .libs/libPyIex.so.2.0.2<br>
libtool: link: (cd ".libs" && rm -f
"libPyIex.so.2" && ln -s
"libPyIex.so.2.0.2" "libPyIex.so.2")<br>
libtool: link: (cd ".libs" && rm -f
"libPyIex.so" && ln -s
"libPyIex.so.2.0.2" "libPyIex.so")<br>
libtool: link: ( cd ".libs" && rm -f
"libPyIex.la" && ln -s
"../libPyIex.la" "libPyIex.la" )<br>
/bin/sh ../libtool --tag=CXX --mode=compile
g++ -DHAVE_CONFIG_H -I. -I../config -pthread
-I/opt/ilmbase-2-2-0/include/OpenEXR -I..
-I../config -pipe -g -O2
-I/opt/boost_1.65.1/include
-I/usr/include/python2.7 -MT iexmodule.lo -MD
-MP -MF .deps/iexmodule.Tpo -c -o iexmodule.lo
iexmodule.cpp<br>
libtool: compile: g++ -DHAVE_CONFIG_H -I.
-I../config -pthread
-I/opt/ilmbase-2-2-0/include/OpenEXR -I..
-I../config -pipe -g -O2
-I/opt/boost_1.65.1/include
-I/usr/include/python2.7 -MT iexmodule.lo -MD
-MP -MF .deps/iexmodule.Tpo -c iexmodule.cpp
-fPIC -DPIC -o .libs/iexmodule.o<br>
mv -f .deps/iexmodule.Tpo .deps/iexmodule.Plo<br>
/bin/sh ../libtool --tag=CXX --mode=link g++
-pipe -g -O2 -I/opt/boost_1.65.1/include
-I/usr/include/python2.7 -avoid-version
-module -L/opt/ilmbase-2-2-0/lib
-L/opt/boost_1.65.1/lib -L/usr/lib64 -o <a
href="http://iexmodule.la" target="_blank"
moz-do-not-send="true">iexmodule.la</a>
-rpath
/opt/pyilmbase-2-2-0/lib64/python2.7/site-packages iexmodule.lo
libPyIex.la -lboost_python -lpython2.7<br>
libtool: link: g++ -shared -nostdlib
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginS.o .libs/iexmodule.o
-Wl,-rpath
-Wl,/root/install-package/OpenEXR/pyilmbase-2.2.0/PyIex/.libs
-Wl,-rpath -Wl,/opt/ilmbase-2-2-0/lib
-Wl,-rpath -Wl,/opt/pyilmbase-2-2-0/lib
-Wl,-rpath -Wl,/opt/ilmbase-2-2-0/lib
-L/opt/ilmbase-2-2-0/lib
-L/opt/boost_1.65.1/lib -L/usr/lib64
./.libs/libPyIex.so -lz
/opt/ilmbase-2-2-0/lib/libImath.so
/opt/ilmbase-2-2-0/lib/libHalf.so
/opt/ilmbase-2-2-0/lib/libIexMath.so
/opt/ilmbase-2-2-0/lib/libIlmThread.so
/opt/ilmbase-2-2-0/lib/libIex.so
-lboost_python -lpython2.7
-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5
-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../..
-lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o
-pthread -Wl,-soname -Wl,iexmodule.so -o
.libs/iexmodule.so</font><br>
<font color="#ff0000">/usr/bin/ld:
/opt/boost_1.65.1/lib/libboost_python.a(dict.o):
relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a
shared object; recompile with -fPIC<br>
/opt/boost_1.65.1/lib/libboost_python.a: error
adding symbols: Bad value<br>
collect2: error: ld returned 1 exit status</font><br>
<font color="#993399">make[1]: *** [<a
href="http://iexmodule.la" target="_blank"
moz-do-not-send="true">iexmodule.la</a>]
Error 1<br>
make[1]: Leaving directory
`/root/install-package/OpenEXR/pyilmbase-2.2.0/PyIex'</font><br>
<font color="#ff0000">make: *** [all-recursive]
Error 1</font><br>
<font color="#993399">[root@pc6
pyilmbase-2.2.0]# </font></i><br>
</p>
<p><br>
</p>
I wonder, if there is an official procedure to
install pyilmbase-2.2.0<br>
<br>
<b>I also observed a file name</b><b> install-sh.
How can that file can be usefull for the
installation?</b><br>
<br>
You also spoke about installing into the same folder
of ilmbase-2-2-0. What would you change regarding my
about steps? To be honst with you, last week I tried
but I do not rember why, I finally soecified a
folder dedicated for pyilmbase2-2-0 in /opt/<br>
<br>
<br>
Many many thank for your help and help from openexr
community.<br>
<br>
Cheers<br>
Pierrot<br>
<p><i><font color="#ff0000"><br>
</font></i></p>
<div class="m_7188596615846419669moz-cite-prefix">On
12/1/17 1:21 AM, Peter Hillman wrote:<br>
</div>
<blockquote type="cite">./configure
--prefix=/opt/ilmbase-2-2-0
--with-boost-include-dir=/opt/boost/include
--with-boost-lib-dir=/opt/boost/lib </blockquote>
<br>
<br>
<fieldset
class="m_7188596615846419669mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Openexr-devel mailing list
<a class="m_7188596615846419669moz-txt-link-abbreviated" href="mailto:[email protected]" target="_blank" moz-do-not-send="true">[email protected]</a>
<a class="m_7188596615846419669moz-txt-link-freetext" href="https://lists.nongnu.org/mailman/listinfo/openexr-devel" target="_blank" moz-do-not-send="true">https://lists.nongnu.org/mailman/listinfo/openexr-devel</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Openexr-devel mailing list<br>
<a href="mailto:[email protected]"
target="_blank" moz-do-not-send="true">[email protected]</a><br>
<a
href="https://lists.nongnu.org/mailman/listinfo/openexr-devel"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.nongnu.org/mailman/listinfo/openexr-devel</a><br>
</blockquote>
</div>
</div>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Openexr-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]" moz-do-not-send="true">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.nongnu.org/mailman/listinfo/openexr-devel" moz-do-not-send="true">https://lists.nongnu.org/mailman/listinfo/openexr-devel</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Openexr-devel 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-devel">https://lists.nongnu.org/mailman/listinfo/openexr-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>
--------------F271B8436E748CF77A095AE1--
--===============6465828687957051395==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel
--===============6465828687957051395==--