GS is installed and working, but there is some problem with the install, since the files it generates have the wrong permissions. The directory I am converting these to is set for 777, so isn't a prob with the directory. As a result, when I run the following IM command (which should use GS):
Code: Select all
convert 1.pdf 1.jpg
Code: Select all
Error: /undefinedfilename in (/var/tmp/magick-AltCgcLT)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1128/1686(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: 13
AFPL Ghostscript 8.54: Unrecoverable error, exit code 1
convert: unable to open image `/var/tmp/magick-fAn9bRGU': Permission denied.
convert: no decode delegate for this image format `/var/tmp/magick-fAn9bRGU'.
convert: Postscript delegate failed `1.pdf'.
convert: missing an image filename `1.jpg'.
Seems to be unable to read/write to /var/tmp/ , but when I run this via sudo, it works...
For the record, there's no problem when i run:
Code: Select all
convert 1.jpg 1.gif
Code: Select all
sudo ./configure --enable-shared --with-modules=yes --prefix=/usr/local --enable-delegate-build
Thanks
-Jon Keegan