MAGICK_HOME / HDRI version of IM failing to find configs

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

MAGICK_HOME / HDRI version of IM failing to find configs

Post by anthony »

I am not certain when this broke but..

I build a HDRI version of IM, for installing in a specific sub-directory...

Code: Select all

MAGICK_HOME=/opt/im_hdri
./configure --prefix=$MAGICK_HOME --enable-hdri --disable-installed \
          --enable-shared --disable-static --without-modules --with-x \
          --without-perl --without-magick-plus-plus --disable-openmp \
          --with-autotrace --with-wmf --with-gslib --with-rsvg --with-xml \
          CFLAGS=-Wextra
ImageMagick (latest from SVN) builds and installs fine.

When I run it I use...

Code: Select all

export MAGICK_HOME=/opt/im_hdri
export PATH="$MAGICK_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$MAGICK_HOME/lib:$LD_LIBRARY_PATH"
convert ....
This is setup and used from a script I called 'hdri'
EG:

Code: Select all

hdri convert ....
for example

Code: Select all

hdri convert -version
Version: ImageMagick 6.8.5-5 2013-05-03 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC HDRI
Delegates: autotrace bzlib djvu mpeg fftw fontconfig freetype gslib jng jp2 jpeg lcms lqr pango png ps rsvg tiff wmf x xml zlib
It runs fine, and generally without problems, except when I do...

Code: Select all

convert -verbose -list configure

Path: [built-in]

Name           Value
-------------------------------------------------------------------------------
FEATURES       
NAME           ImageMagick
QuantumDepth   16
convert: unable to access configure file `configure.xml' @ warning/configure.c/GetConfigureOptions/616.
The configure file is installed, and located at
/opt/im_hdri/lib/ImageMagick-6.8.5/config-Q16HDRI/configure.xml
but the file is not being found by the above convert command in the MAGICK_HOME directory.
Either it is not being installed in the right place, or IM is not looking in the right place.

I get a similar problem with...

Code: Select all

hdri convert -list fonts
convert: unrecognized list type `fonts' @ error/convert.c/ConvertImageCommand/1949.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MAGICK_HOME / HDRI version of IM failing to find configs

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.8.5-5 Beta available by sometime tomorrow. Thanks.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: MAGICK_HOME / HDRI version of IM failing to find configs

Post by anthony »

Thanks, yes the configuration fault is now fixed.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply