possible bug in convert -list configure not showing gs

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

possible bug in convert -list configure not showing gs

Post by fmw42 »

IM 6.5.1-3 Q16 Mac OSX Tiger.

I have installed this version of IM using the following ./config

./configure --enable-delegate-build --enable-shared --disable-static \
--with-modules --with-quantum-depth=16 --without-wmf \
--enable-libtool-verbose --disable-dependency-tracking \
--with-gs-font-dir=/usr/local/share/ghostscript/fonts/ --with-lqr

I have had Ghostscript 8.61 installed for a long time already with no problems.

The installation of IM went fine with no errors that I saw. The config.log files does not show any errors that I recognize and indicates it recognizes the above Ghostscript. ( I can send it to you if you need it).

But when I do

convert -list configure

gs does not show up in the line starting with DELEGATES

DELEGATES bzlib fontconfig freetype jpeg jp2 lcms lqr openexr png tiff x11 xml zlib


However, I can do

convert rose: rose.pdf
convert rose.pdf rose.png

just fine with no errors and meaninful result.


Has something changed in your reporting of GS in the Delegates list above?

Here is the full output from

convert -list configure

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

Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -I/usr/local/include/lqr-1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -Wall -W -D_THREAD_SAFE
CONFIGURE ./configure '--enable-delegate-build' '--enable-shared' '--disable-static' '--with-modules' '--with-quantum-depth=16' '--without-wmf' '--enable-libtool-verbose' '--disable-dependency-tracking' '--with-gs-font-dir=/usr/local/share/ghostscript/fonts/' '--with-lqr'
COPYRIGHT Copyright (C) 1999-2009 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -g -O2 -Wall -W -D_THREAD_SAFE
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib fontconfig freetype jpeg jp2 lcms lqr openexr png tiff x11 xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-gs-font-dir=/usr/local/share/ghostscript/fonts/ --with-wmf=no
EXEC-PREFIX /usr/local
HOST powerpc-apple-darwin8.11.0
LDFLAGS -L/usr/local/lib -L/Users/fred/Applications/ImageMagick-6.5.1-3source/magick -L/Users/fred/Applications/ImageMagick-6.5.1-3source/wand -L/usr/X11R6/lib -L/usr/local/lib -lfreetype -lz
LIB_VERSION 0x651
LIB_VERSION_NUMBER 6,5,1,3
LIBS -lMagickCore -llcms -ltiff -lfreetype -ljpeg -L/usr/local/lib/lqr-1 -L/usr/local/lib -llqr-1 -lglib-2.0 -lintl -liconv -L/usr/local/lib -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2009-04-16
VERSION 6.5.1
WEBSITE http://www.imagemagick.org
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug in convert -list configure not showing gs

Post by magick »

Add --with-gslib to your configure script command line to enable Ghostscript support. Without this option, ImageMagick utilizes the Ghostscript command line program, gs.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug in convert -list configure not showing gs

Post by fmw42 »

magick wrote:Add --with-gslib to your configure script command line to enable Ghostscript support. Without this option, ImageMagick utilizes the Ghostscript command line program, gs.

Is this a new requirement?

Up until the last release or so, I always had "gs" showing when I did a

convert -list configure

in the DELEGATES line without having to put --with-gslib in my configure script

I will try it again with the 6.5.1-4 release and let you know what happens.

_____________

OK.

installing IM without including --with-gslib in my configure script leads to:

convert -list configure

DELEGATES bzlib fontconfig freetype jpeg jp2 lcms lqr openexr png tiff x11 xml zlib

and does not show gs in the list.

But installing IM by including --with-gslib in my configure script leads to:

convert -list configure

DELEGATES bzlib fontconfig freetype gs jpeg jp2 lcms lqr openexr png tiff x11 xml zlib

which does include gs in the list

But adding --with-gslib to my configure script was not required pre- IM 6.5.x and gs still showed in my list of DELEGATES. So something has changed recently.

Thanks for the pointer about including --with-gslib
Post Reply