[19947] in Athena Bugs

home help back first fref pref prev next nref lref last post

gdk_imlib calls 'convert' which is misconfigured on Linux 9.0

daemon@ATHENA.MIT.EDU (Derek Atkins)
Tue Oct 30 11:19:04 2001

To: bugs@MIT.EDU
From: Derek Atkins <warlord@MIT.EDU>
Date: 30 Oct 2001 11:19:02 -0500
Message-ID: <sjmitcxrthl.fsf@benjamin.ihtfp.org>

When gdk_imlib wants to convert an image, it uses the program
'convert' which on Linux is located in /usr/X11R6/bin/convert.  If the
input is PostScript, this "local" version of 'convert' tries to
execute /usr/bin/gs, which of course does not exist.

The reason is that convert winds up looking for ImageMagick's
delegates.mgk configuration, which it finds in
/usr/X11R6/share/ImageMagick, and in this file is says (among other
incorrect pointers):

gs-mono=>
        /usr/bin/gs -dMaxBitmap=300000000 -sDEVICE=pbmraw -q -dNOPAUSE -dSAFER \
          -dTextAlphaBits=%u -dGraphicsAlphaBits=%u -g%s -r%s %s \
          -sOutputFile="%s" -- "%s" -c quit

This means it winds up trying to call a non-existant program, and
dies.  It will also fail trying to convert dvi files (it calls
/usr/bin/dvips) and even "file" types (for /usr/bin/wget).

Basically, most of the delegates.mgk file is just b0rked on Athena
Linux boxes.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available

home help back first fref pref prev next nref lref last post