Page 1 of 1

Compiling seems find but "identify -list format" is empty

Posted: 2008-01-18T10:09:11-07:00
by pomle
I've tried to compile ImageMagick on Debian Etch. However all convert-operations fail with the message "NoDecodeDelegateForThisImageFormat" and "identify -list format" returns only *native blob support.

This is the configure-output that I compiled with.

Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no

Delegate Configuration:
BZLIB --with-bzlib=yes no
DJVU --with-djvu=no no
DPS --with-dps=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
Ghostscript None gs (8.15.3)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib --with-gslib=yes no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes yes
LCMS --with-lcms=yes no
Magick++ --with-magick-plus-plus=yes no (failed tests)
OpenEXR --with-openexr=yes no
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=yes no
TIFF --with-tiff=yes yes
result_windows_font_dir='none'
Windows fonts --with-windows-font-dir=
WMF --with-wmf=yes no
X11 --with-x= yes
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes

X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =

Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.3.7
CC = gcc
CFLAGS = -g -O2 -Wall -W -pthread
MAGICK_CFLAGS = -g -O2 -Wall -W -pthread
CPPFLAGS = -I/usr/local/include
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -lfreetype -lz
MAGICK_LDFLAGS = -L/usr/local/lib -lfreetype -lz
LIBS = -lMagick -ltiff -lfreetype -ljpeg -lXext -lX11 -lz -lm -lpthread
CXX = g++
CXXFLAGS = -pthread

Re: Compiling seems find but "identify -list format" is empty

Posted: 2008-01-18T10:18:25-07:00
by magick
By default, ImageMagick requires you install it into the system path, typically /usr/local. If you do not want to install into a system path, add --disabled-installed to your configure command script and set the ImageMagick environment variable MAGICK_HOME. Type
  • convert -debug configure logo: logo.miff
and the output will tell you where ImageMagick expects to find its required configuration files.

Re: Compiling seems fine but "identify -list format" is empty

Posted: 2008-01-18T10:38:07-07:00
by pomle
Thanks for the answer! However, I don't understand it fully.

My current installation is in /usr/bin and it works fine. It's installed thru apt-get but it's a couple of years old and i fancy some of the later improvements.

I ran "convert -debug configure logo: logo.miff" and manually copied the /config -folder from my compile folder to one of the destinations it looked in, but the behavior sustained.

This it the "make install"-log. Doesn't seem right, does it?

gerico:/home/pom/downloads/ImageMagick-6.3.7# make install
make install-am
make[1]: Entering directory `/home/pom/downloads/ImageMagick-6.3.7'
cd PerlMagick && make CC='gcc'
make[2]: Entering directory `/home/pom/downloads/ImageMagick-6.3.7/PerlMagick'
make[2]: Leaving directory `/home/pom/downloads/ImageMagick-6.3.7/PerlMagick'
make[2]: Entering directory `/home/pom/downloads/ImageMagick-6.3.7'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'magick/libMagick.la' '/usr/local/lib/libMagick.la'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'wand/libWand.la' '/usr/local/lib/libWand.la'
libtool: install: warning: relinking `wand/libWand.la'
libtool: relink: warning: `/usr/lib64/libtiff.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libjpeg.la' seems to be moved
libtool: relink: warning: `/usr/lib64/libfreetype.la' seems to be moved
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/animate' '/usr/local/bin/animate'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/compare' '/usr/local/bin/compare'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/composite' '/usr/local/bin/composite'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/conjure' '/usr/local/bin/conjure'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/convert' '/usr/local/bin/convert'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/display' '/usr/local/bin/display'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/identify' '/usr/local/bin/identify'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/import' '/usr/local/bin/import'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/mogrify' '/usr/local/bin/mogrify'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/montage' '/usr/local/bin/montage'
/bin/sh ./libtool --silent --mode=install /usr/bin/install -c 'utilities/stream' '/usr/local/bin/stream'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c 'magick/Magick-config' '/usr/local/bin/Magick-config'
/usr/bin/install -c 'wand/Wand-config' '/usr/local/bin/Wand-config'
cd PerlMagick && make CC='gcc' install
make[3]: Entering directory `/home/pom/downloads/ImageMagick-6.3.7/PerlMagick'
mkdir /usr/local/lib/perl/5.8.8: File exists at /usr/share/perl/5.8/ExtUtils/Install.pm line 112
make[3]: *** [pure_site_install] Error 17
make[3]: Leaving directory `/home/pom/downloads/ImageMagick-6.3.7/PerlMagick'
make[2]: *** [install-exec-perl] Error 2
make[2]: Leaving directory `/home/pom/downloads/ImageMagick-6.3.7'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/pom/downloads/ImageMagick-6.3.7'
make: *** [install] Error 2