bug convert -list configure IM 6.7.3.8

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
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

bug convert -list configure IM 6.7.3.8

Post by fmw42 »

IM 6.7.3.8 Q16 Mac OSX Tiger.

when doing

convert -list configure

I get two listings, one for 6.7.3.8 and one for 6.7.3.5. This causes my scripts to fail when testing for the IM version.

convert -list configure

Path: /usr/local/lib/ImageMagick-6.7.3/config/configure.xml

Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -g -O2 -Wall -D_THREAD_SAFE -pthread
CODER_PATH /usr/local/lib/ImageMagick-6.7.3/modules-Q16/coders
CONFIGURE ./configure 'CPPFLAGS=-I/opt/local/include' 'LDFLAGS=-L/opt/local/lib' '--enable-delegate-build' '--enable-shared' '--disable-static' '--with-modules' '--with-quantum-depth=16' '--with-gslib' '--without-wmf' '--disable-silent-rules' '--disable-dependency-tracking' '--disable-openmp' '--with-gs-font-dir=/opt/local/share/ghostscript/fonts/' '--with-lqr'
CONFIGURE_PATH /usr/local/etc/ImageMagick/
COPYRIGHT Copyright (C) 1999-2011 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -D_THREAD_SAFE -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib fftw fontconfig freetype gs jpeg jng jp2 lcms2 lqr openexr png rsvg tiff x11 xml zlib
DISTCHECK_CONFIG_FLAGS 'CPPFLAGS=-I/opt/local/include' 'LDFLAGS=-L/opt/local/lib' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-fontpath= --with-gs-font-dir=/opt/local/share/ghostscript/fonts/ --with-wmf=no --with-perl=no
DOCUMENTATION_PATH /usr/local/share/doc/ImageMagick/
EXEC-PREFIX /usr/local
EXECUTABLE_PATH /usr/local/bin
FEATURES
FILTER_PATH /usr/local/lib/ImageMagick-6.7.3/modules-Q16/filters
HOST powerpc-apple-darwin8.11.0
INCLUDE_PATH /usr/local/include/ImageMagick
LDFLAGS -L/usr/local/lib -L/opt/local/lib -L/Users/fred/Applications/ImageMagick-6.7.3-8source/magick -L/Users/fred/Applications/ImageMagick-6.7.3-8source/wand -L/opt/local/lib -L/opt/local/lib
LIB_VERSION 0x673
LIB_VERSION_NUMBER 6,7,3,8
LIBRARY_PATH /usr/local/lib/ImageMagick-6.7.3
LIBS -lMagickCore -llcms2 -ltiff -lfreetype -ljpeg -L/opt/local/lib -llqr-1 -lglib-2.0 -lintl -lfftw3 -L/opt/local/lib -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread -lltdl
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2011-11-25
SHARE_PATH /usr/local/share/ImageMagick-6.7.3
SVN_REVISION 6084
TARGET_CPU powerpc
TARGET_OS darwin8.11.0
TARGET_VENDOR apple
VERSION 6.7.3
WEBSITE http://www.imagemagick.org

Path: /usr/local/share/ImageMagick-6.7.3/configure.xml

Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99 -std=gnu99
CFLAGS -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -g -O2 -Wall -D_THREAD_SAFE -pthread
CODER_PATH /usr/local/lib/ImageMagick-6.7.3/modules-Q16/coders
CONFIGURE ./configure 'CPPFLAGS=-I/opt/local/include' 'LDFLAGS=-L/opt/local/lib' '--enable-delegate-build' '--enable-shared' '--disable-static' '--with-modules' '--with-quantum-depth=16' '--with-gslib' '--without-wmf' '--disable-silent-rules' '--disable-dependency-tracking' '--disable-openmp' '--with-gs-font-dir=/opt/local/share/ghostscript/fonts/' '--with-lqr'
CONFIGURE_PATH /usr/local/etc/ImageMagick/
COPYRIGHT Copyright (C) 1999-2011 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -D_THREAD_SAFE -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib fftw fontconfig freetype gs jpeg jng jp2 lcms2 lqr lzma openexr png rsvg tiff x11 xml zlib
DISTCHECK_CONFIG_FLAGS 'CPPFLAGS=-I/opt/local/include' 'LDFLAGS=-L/opt/local/lib' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-fontpath= --with-gs-font-dir=/opt/local/share/ghostscript/fonts/ --with-wmf=no --with-perl=no
DOCUMENTATION_PATH /usr/local/share/doc/ImageMagick/
EXEC-PREFIX /usr/local
EXECUTABLE_PATH /usr/local/bin
FEATURES
FILTER_PATH /usr/local/lib/ImageMagick-6.7.3/modules-Q16/filters
HOST powerpc-apple-darwin8.11.0
INCLUDE_PATH /usr/local/include/ImageMagick
LDFLAGS -L/usr/local/lib -L/opt/local/lib -L/Users/fred/Applications/ImageMagick-6.7.3-5source/magick -L/Users/fred/Applications/ImageMagick-6.7.3-5source/wand -L/opt/local/lib -L/opt/local/lib
LIB_VERSION 0x673
LIB_VERSION_NUMBER 6,7,3,5
LIBRARY_PATH /usr/local/lib/ImageMagick-6.7.3
LIBS -lMagickCore -llcms2 -ltiff -lfreetype -ljpeg -L/opt/local/lib -llqr-1 -lglib-2.0 -lintl -lfftw3 -L/opt/local/lib -lfontconfig -lXext -lSM -lICE -lX11 -lXt -llzma -lbz2 -lz -lm -lpthread -lltdl
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2011-11-10
SHARE_PATH /usr/local/share/ImageMagick-6.7.3
SVN_REVISION 5935
TARGET_CPU powerpc
TARGET_OS darwin8.11.0
TARGET_VENDOR apple
VERSION 6.7.3
WEBSITE http://www.imagemagick.org

Path: [built-in]

Name Value
-------------------------------------------------------------------------------
NAME ImageMagick
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: bug convert -list configure IM 6.7.3.8

Post by magick »

We've been working with Debian and Fedora folks looking for a arch-independent location for configure.xml. Its permanent home is now /usr/local/lib/ImageMagick/config/configure.xml. You most likely have configure.xml in the older location of /usr/local/etc/ImageMagick/configure.xml (or something similar). Remove it so ImageMagick only finds the one configure.xml configuration file.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: bug convert -list configure IM 6.7.3.8

Post by fmw42 »

Sorry, not sure which to remove! These are the only places I can find it. Am I correct in deleting just the last one highlighted in red and keeping the first one highlighted in blue and the two others.


find /usr | grep "configure.xml"

/usr/local/lib/ImageMagick-6.7.3/config/configure.xml
/usr/local/share/doc/ImageMagick/www/source/configure.xml
/usr/local/share/doc/ImageMagick-6.7.3/www/source/configure.xml
/usr/local/share/ImageMagick-6.7.3/configure.xml


Deleting the last one in red, seems to have cured the double config listing and gives the correct version. Thanks.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: bug convert -list configure IM 6.7.3.8

Post by magick »

/usr/local/share/ImageMagick-6.7.3/configure.xml was the correct version to remove.
Post Reply