Page 1 of 1

Installing on Red Hat with OpenJPEG

Posted: 2015-04-02T03:51:24-07:00
by evgeni
Hi,

I am trying to install ImageMagick 6.9.1 on Red Hat el5.

I have openjpeg-2.1.0 installed. It works and converts png to jp2.

For the ImageMagick installation I am running
./configure CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"

and I am getting

Option Value
------------------------------------------------------------------------------
JPEG-2000 --with-jp2=
OpenJP2 --with-openjp2=yes no

. . .
DELEGATES = bzlib mpeg fontconfig freetype jng jpeg lcms png ps tiff x xml zlib

Any advice - how to get ImageMagick working with OpenJPEG on this platform?

Re: Installing on Red Hat with OpenJPEG

Posted: 2015-04-02T07:28:40-07:00
by evgeni
It works. I found the cause - the last export before the "configure" was missing:
export CPATH=/usr/local/include
export LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/

./configure CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"

Re: Installing on Red Hat with OpenJPEG

Posted: 2015-04-02T08:25:16-07:00
by Bonzo
Thanks for coming back and sharing your answer with us evgeni