missing delegats on debian squeeze

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
omega1
Posts: 7
Joined: 2011-10-01T05:20:19-07:00
Authentication code: 8675308

missing delegats on debian squeeze

Post by omega1 »

hi

i tried to compile IM 6.3.7-9 (ImageMagick-6.3.7-9.tar.gz) on Debian Squeeze. After ./configure i got this:

Code: Select all

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=no          no
FreeType          --with-freetype=yes           no
GhostPCL          None                          pcl6 (unknown)
Ghostscript       None                          gs (unknown)
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               no
JPEG-2000         --with-jp2=yes                no
LCMS              --with-lcms=yes               no
Magick++          --with-magick-plus-plus=yes   yes
OpenEXR           --with-openexr=yes            no
PERL              --with-perl=yes               /usr/bin/perl
PNG               --with-png=yes                no
RSVG              --with-rsvg=no                no
TIFF              --with-tiff=yes               no
result_windows_font_dir='none'
Windows fonts     --with-windows-font-dir=
WMF               --with-wmf=yes                no
X11               --with-x=                     no
XML               --with-xml=no         no
ZLIB              --with-zlib=yes               no

why are all the delegates (jpg, png...) missing on a standard debian squeeze? are the delegates from http://www.imagemagick.org/download/delegates/ working with squeeze and with exactly do i need?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: missing delegats on debian squeeze

Post by fmw42 »

I know little about Linux (I use a Mac). But as far as I know, if you install IM from source, you have to pre-install each delegate that you want to use and then install IM.

see http://www.imagemagick.org/download/delegates/

type

convert -list configure

and look at the line starting with DELEGATES. That will tell which delegates IM recognizes.
omega1
Posts: 7
Joined: 2011-10-01T05:20:19-07:00
Authentication code: 8675308

Re: missing delegats on debian squeeze

Post by omega1 »

ok, i tried to install the delegates: apt-get install libjasper1 libjpeg62

but i still get:

Code: Select all

JPEG v1           --with-jpeg=yes               no
JPEG-2000         --with-jp2=yes                no
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: missing delegats on debian squeeze

Post by fmw42 »

convert -list configure

and look at the line starting with DELEGATES. That will tell which delegates IM recognizes.
omega1
Posts: 7
Joined: 2011-10-01T05:20:19-07:00
Authentication code: 8675308

Re: missing delegats on debian squeeze

Post by omega1 »

DELEGATES bzlib
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: missing delegats on debian squeeze

Post by fmw42 »

omega1 wrote:DELEGATES bzlib
Then only bzlib is installed such that IM can find it.
omega1
Posts: 7
Joined: 2011-10-01T05:20:19-07:00
Authentication code: 8675308

Re: missing delegats on debian squeeze

Post by omega1 »

i installed jasper/jpeg-2000 (jasper-1.900.1.zip) and tried to compile IM with this error:

Code: Select all

/usr/bin/ld: /usr/local/lib/libjasper.a(jas_cm.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libjasper.a: could not read symbols: Bad value
'recompile with -fPIC' has not helped
Post Reply