Building ImageMagick with *latest* openexr libs on CentOS 6
Posted: 2017-05-18T01:45:24-07:00
I'm trying to build ImageMagick from source with latest openexr libs on CentOS 6.
The latest available version from yum is OpenEXR-devel.x86_64 1.6.1-8.1.el6 so I've downloaded and built ilmbase 2.2.0 and openexr 2.2.0. My problem is that the ImageMagick build script can't locate the 2.2.0 lib versions.
This is what I do:
But then configure reports:
if I install openexr-devel it finds openexr libs but they are the older 1.6 version. I have all needed other delegates. The problem is only with openexr.
Any help with this issue?
Thanks
The latest available version from yum is OpenEXR-devel.x86_64 1.6.1-8.1.el6 so I've downloaded and built ilmbase 2.2.0 and openexr 2.2.0. My problem is that the ImageMagick build script can't locate the 2.2.0 lib versions.
This is what I do:
Code: Select all
TARGET_DIR=*my target dir*
# building ilbmase
./configure --prefix=$TARGET_DIR
make -j 4 && make install
# building openexr
./configure --prefix=$TARGET_DIR --with-ilmbase-prefix=$TARGET_DIR --disable-ilmbasetest
make -j 4 && make install
OPENEXR_LIBS="$TARGET_DIR" ./configure --prefix=$TARGET_DIR --enable-zero-configuration \
--disable-shared --enable-delegate-build --enable-hdri=yes --with-xml=yes --with-gslib=yes \
--with-gs-font-dir=gsfonts --without-perl --without-magick-plus-plus --without-x
Code: Select all
OpenEXR --with-openexr=yes no
Any help with this issue?
Thanks