[magick-users] gs needed regardless?

Ashley M. Kirchner ashley at pcraft.com
Wed Sep 20 15:24:24 CDT 2006


quetzlzacatenango at imagemagick.org wrote:
> Not sure.  We can't reproduce the problem with ImageMagick 6.2.9-6, the
> current release.
    Okay, so here I go again.  This time with 6.2.9-6:

----------
[8] 14:15:17 <kirash at lansky:~/test> ls -lA
total 288
-rw-r--r-- 1 kirash kirash 34838 Sep 20 14:11 amk4_001.jpg
-rw-r--r-- 1 kirash kirash 28748 Sep 20 14:11 amk4_002.jpg
-rw-r--r-- 1 kirash kirash 28138 Sep 20 14:11 amk4_003.jpg
-rw-r--r-- 1 kirash kirash 36294 Sep 20 14:11 amk4_004.jpg
-rw-r--r-- 1 kirash kirash 25884 Sep 20 14:11 amk4_005.jpg
-rw-r--r-- 1 kirash kirash 25535 Sep 20 14:11 amk4_006.jpg
-rw-r--r-- 1 kirash kirash 32377 Sep 20 14:11 amk4_007.jpg
-rw-r--r-- 1 kirash kirash 30136 Sep 20 14:11 amk4_008.jpg
-rw-r--r-- 1 kirash kirash 34319 Sep 20 14:11 amk4_009.jpg
----------

----------
[9] 14:15:58 <kirash at lansky:~/test> identify *
amk4_001.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 34.0215kb
amk4_002.jpg[1] JPEG 75x103 75x103+0+0 DirectClass 8-bit 28.0742kb
amk4_003.jpg[2] JPEG 75x103 75x103+0+0 DirectClass 8-bit 27.4785kb
amk4_004.jpg[3] JPEG 75x103 75x103+0+0 DirectClass 8-bit 35.4434kb
amk4_005.jpg[4] JPEG 75x103 75x103+0+0 DirectClass 8-bit 25.2773kb
amk4_006.jpg[5] JPEG 75x103 75x103+0+0 DirectClass 8-bit 24.9355kb
amk4_007.jpg[6] JPEG 75x103 75x103+0+0 DirectClass 8-bit 31.6172kb
amk4_008.jpg[7] JPEG 75x103 75x103+0+0 DirectClass 8-bit 29.4297kb
amk4_009.jpg[8] JPEG 75x103 75x103+0+0 DirectClass 8-bit 33.5137kb
----------

    Okay, so identify tells me they're all jpegs.  Next step, running 
montage:

----------
[10] 14:16:01 <kirash at lansky:~/test> montage -verbose *.jpg -geometry 
+0+0 montage.jpg
amk4_001.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 34.0215kb
amk4_002.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 28.0742kb
amk4_003.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 27.4785kb
amk4_004.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 35.4434kb
amk4_005.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 25.2773kb
amk4_006.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 24.9355kb
amk4_007.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 31.6172kb
amk4_008.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 29.4297kb
amk4_009.jpg JPEG 75x103 75x103+0+0 DirectClass 8-bit 33.5137kb
sh: gs: command not found
sh: gs: command not found
montage: no decode delegate for this image format `/tmp/magick-XXWqcgCI'.
montage: Postscript delegate failed `/tmp/magick-XXWqcgCI'.
montage.jpg  225x309 DirectClass 16-bit 80.6758kb
----------


    And there it is again, looking for gs.  Notice how it still does 
create the resulting image, and that montage complains about not having 
a Postscript delegate for the tmp file that gets created, not for any of 
MY files.

Again, the compile options that configure presented me are:

----------
Delegate Configuration:
BZLIB             --with-bzlib=yes              yes
DPS               --with-dps=yes                no
FlashPIX          --with-fpx=no         no
FontConfig        --with-fontconfig=yes         no
FreeType          --with-freetype=yes           yes
GhostPCL          None                          pcl6 (unknown)
Ghostscript       None                          gs (unknown)
Ghostscript fonts --with-gs-font-dir=default    none
Ghostscript lib   --with-gslib=yes              no
Graphviz          --with-gvc=yes                no
JBIG              --with-jbig=yes               yes
JPEG v1           --with-jpeg=yes               yes
JPEG-2000         --with-jp2=yes                yes
LCMS              --with-lcms=yes               yes
Magick++          --with-magick-plus-plus=yes   yes
PERL              --with-perl=yes               /usr/bin/perl
PNG               --with-png=yes                yes
RSVG              --with-rsvg=yes               no
TIFF              --with-tiff=yes               yes
Windows fonts     --with-windows-font-dir=      none
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.2.9
  CC          = gcc
  CFLAGS      = -g -O2 -Wall -pthread
  CPPFLAGS    = -I/usr/local/include
  PCFLAGS     =
  DEFS        = -DHAVE_CONFIG_H
  LDFLAGS     = -L/usr/local/lib -lfreetype -lz -L/usr/lib
  LIBS        = -lMagick -llcms -ltiff -lfreetype -ljpeg -lX11 -lbz2 -lz 
-lpthread -lm -lpthread
  CXX         = g++
  CXXFLAGS    = -pthread
----------

    And ldd against montage says:

----------
[11] 14:16:21 <kirash at lansky:~> ldd /usr/local/bin/montage
        linux-gate.so.1 =>  (0x00256000)
        libMagick.so.10 => /usr/local/lib/libMagick.so.10 (0x008c3000)
        libWand.so.10 => /usr/local/lib/libWand.so.10 (0x00671000)
        liblcms.so.1 => /usr/lib/liblcms.so.1 (0x00479000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0x003fa000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x003d6000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x0080c000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00582000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00111000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00464000)
        libdl.so.2 => /lib/libdl.so.2 (0x003a9000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00272000)
        libm.so.6 => /lib/libm.so.6 (0x003af000)
        libc.so.6 => /lib/libc.so.6 (0x00a97000)
        /lib/ld-linux.so.2 (0x00257000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00540000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0017f000)
----------

    Anything else you can suggest me try, or look at?  This has me 
baffled.  Yes, I understand what you said that it annotates the images 
IF if does NOT find the freetype delegate, which is certainly did find.

    -- A


-- 
W | It's not a bug - it's an undocumented feature.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  IT Director / SysAdmin / Websmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.




More information about the Magick-users mailing list