anyone know how I can fix this install error?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
anyone know how I can fix this install error?
IM 6.5.3-2 Q16 Mac OSX Tiger
When compiling IM, I get the following error message with regard to Ghostscript:
checking for Ghostscript...
checking for Ghostscript version... 8.61
checking for gs alpha device... pngalpha
checking for gs color device... pnmraw
checking for gs CMYK device... Unknown device: pam
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
bmpsep8
checking for gs mono device... pbmraw
checking for gs PDF writing device... pdfwrite
checking for gs PS writing device... pswrite
checking for gs EPS writing device... epswrite
Does anyone know what this means and how I would go about correcting it?
When compiling IM, I get the following error message with regard to Ghostscript:
checking for Ghostscript...
checking for Ghostscript version... 8.61
checking for gs alpha device... pngalpha
checking for gs color device... pnmraw
checking for gs CMYK device... Unknown device: pam
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
bmpsep8
checking for gs mono device... pbmraw
checking for gs PDF writing device... pdfwrite
checking for gs PS writing device... pswrite
checking for gs EPS writing device... epswrite
Does anyone know what this means and how I would go about correcting it?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: anyone know how I can fix this install error?
It means ghostscript is not configured to use a 'PAM' image format. This format is part of the NetPBM or PBMPlus image filtering package.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: anyone know how I can fix this install error?
so what do I do to fix that in the GS install. i never got that before recent IM installs and I have PNM installed. GS 8.61 has been installed since I first started with IM. What has changed? Any suggestions would be appreciated. Looks like GS is up to 8.64 now. Do I try upgrading GS? Any known issues with more current GS versions? What version of GS are the IM folks using at this time?anthony wrote:It means ghostscript is not configured to use a 'PAM' image format. This format is part of the NetPBM or PBMPlus image filtering package.
Thanks.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: anyone know how I can fix this install error?
Didn't you change your delegates for postscript at one point?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: anyone know how I can fix this install error?
Only to install gsc in /usr/local/bin to get GS working.
Re: anyone know how I can fix this install error?
Type gs -h and look at the devices. Is the bmpsep8 device listed? If so, take a closer look at config.log to see why the device is failing.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: anyone know how I can fix this install error?
Yes, both bmpsep8 and pam are there.
gs -h
GPL Ghostscript 8.61 (2007-11-21)
Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
-dNOPAUSE no pause after page | -q `quiet', fewer messages
-g<width>x<height> page size in pixels | -r<res> pixels/inch resolution
-sDEVICE=<devname> select device | -dBATCH exit after last file
-sOutputFile=<file> select output file: - for stdout, |command for pipe,
embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF
Default output device: x11alpha
Available devices:
alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250 appledmp
atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e bj10v bj10vh
bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmono bmp16 bmp16m
bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj500
cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cfax cgm24
cgm8 cgmmono chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cp50
cups declj250 deskjet devicen dfaxhigh dfaxlow dj505j djet500 djet500c
dl2100 dnj650c epl2050 epl2050p epl2120 epl2500 epl2750 epl5800 epl5900
epl6100 epl6200 eps9high eps9mid epson epsonc epswrite escp escpage faxg3
faxg32d faxg4 fmlbp fmpr fs600 gdi hl1240 hl1250 hl7x0 hpdj1120c hpdj310
hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510 hpdj520 hpdj540 hpdj550c
hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c hpdj855c
hpdj870c hpdj890c hpdjplus hpdjportable ibmpro ijs imagen imdi inferno
iwhi iwlo iwlq jetp3852 jj100 jpeg jpegcmyk jpeggray la50 la70 la75
la75plus laserjet lbp310 lbp320 lbp8 lex2050 lex3200 lex5700 lex7000
lips2p lips3 lips4 lips4v lj250 lj3100sw lj4dith lj4dithp lj5gray lj5mono
ljet2p ljet3 ljet3d ljet4 ljet4d ljet4pjl ljetplus ln03 lp1800 lp1900
lp2000 lp2200 lp2400 lp2500 lp2563 lp3000c lp7500 lp7700 lp7900 lp8000
lp8000c lp8100 lp8200c lp8300c lp8300f lp8400f lp8500c lp8600 lp8600f
lp8700 lp8800c lp8900 lp9000b lp9000c lp9100 lp9200b lp9200c lp9300
lp9400 lp9500c lp9600 lp9600s lp9800c lps4500 lps6500 lq850 lx5000
lxm3200 lxm5700m m8510 mag16 mag256 md1xMono md2k md50Eco md50Mono md5k
mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff24 mj500c mj6000c
mj700v2c mj8000c ml600 necp6 npdl nullpage oce9050 oki182 oki4w okiibm
omni oprp opvp paintjet pam pbm pbmraw pcl3 pcx16 pcx24b pcx256 pcx2up
...
The config.log file in IM 6.5.3-2 says everything is fine.
configure:44795: checking for Ghostscript
configure:44797: result:
configure:44799: checking for Ghostscript version
configure:44806: result: 8.61
configure:44810: checking for gs alpha device
configure:44817: result: pngalpha
configure:44821: checking for gs color device
configure:44828: result: pnmraw
configure:44832: checking for gs CMYK device
configure:44839: result: bmpsep8
configure:44843: checking for gs mono device
configure:44850: result: pbmraw
configure:44854: checking for gs PDF writing device
configure:44861: result: pdfwrite
configure:44865: checking for gs PS writing device
configure:44872: result: pswrite
configure:44876: checking for gs EPS writing device
configure:44883: result: epswrite
So why does it complain during the ./configure?
Also if I do:
convert motorcycle.eps motorcycle2.png
returns:
Unknown device: bmpsep8
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
Unknown device: bmpsep8
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
convert: Postscript delegate failed `/var/tmp/magick-HL8Awl4H': No such file or directory @ ps.c/ReadPSImage/741.
convert: motorcycle.eps: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
with the following image:
http://www.fmwconcepts.com/misc_tests/motorcycle.eps
This file was posted by another use and I was trying to help him with it when I uncovered the above issues.
gs -h
GPL Ghostscript 8.61 (2007-11-21)
Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
-dNOPAUSE no pause after page | -q `quiet', fewer messages
-g<width>x<height> page size in pixels | -r<res> pixels/inch resolution
-sDEVICE=<devname> select device | -dBATCH exit after last file
-sOutputFile=<file> select output file: - for stdout, |command for pipe,
embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF
Default output device: x11alpha
Available devices:
alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 alc9100 ap3250 appledmp
atx23 atx24 atx38 bbox bit bitcmyk bitrgb bitrgbtags bj10e bj10v bj10vh
bj200 bjc600 bjc800 bjc880j bjccmyk bjccolor bjcgray bjcmono bmp16 bmp16m
bmp256 bmp32b bmpgray bmpmono bmpsep1 bmpsep8 ccr cdeskjet cdj1600 cdj500
cdj550 cdj670 cdj850 cdj880 cdj890 cdj970 cdjcolor cdjmono cfax cgm24
cgm8 cgmmono chp2200 cif cljet5 cljet5c cljet5pr coslw2p coslwxl cp50
cups declj250 deskjet devicen dfaxhigh dfaxlow dj505j djet500 djet500c
dl2100 dnj650c epl2050 epl2050p epl2120 epl2500 epl2750 epl5800 epl5900
epl6100 epl6200 eps9high eps9mid epson epsonc epswrite escp escpage faxg3
faxg32d faxg4 fmlbp fmpr fs600 gdi hl1240 hl1250 hl7x0 hpdj1120c hpdj310
hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c hpdj510 hpdj520 hpdj540 hpdj550c
hpdj560c hpdj600 hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c hpdj855c
hpdj870c hpdj890c hpdjplus hpdjportable ibmpro ijs imagen imdi inferno
iwhi iwlo iwlq jetp3852 jj100 jpeg jpegcmyk jpeggray la50 la70 la75
la75plus laserjet lbp310 lbp320 lbp8 lex2050 lex3200 lex5700 lex7000
lips2p lips3 lips4 lips4v lj250 lj3100sw lj4dith lj4dithp lj5gray lj5mono
ljet2p ljet3 ljet3d ljet4 ljet4d ljet4pjl ljetplus ln03 lp1800 lp1900
lp2000 lp2200 lp2400 lp2500 lp2563 lp3000c lp7500 lp7700 lp7900 lp8000
lp8000c lp8100 lp8200c lp8300c lp8300f lp8400f lp8500c lp8600 lp8600f
lp8700 lp8800c lp8900 lp9000b lp9000c lp9100 lp9200b lp9200c lp9300
lp9400 lp9500c lp9600 lp9600s lp9800c lps4500 lps6500 lq850 lx5000
lxm3200 lxm5700m m8510 mag16 mag256 md1xMono md2k md50Eco md50Mono md5k
mgr4 mgr8 mgrgray2 mgrgray4 mgrgray8 mgrmono miff24 mj500c mj6000c
mj700v2c mj8000c ml600 necp6 npdl nullpage oce9050 oki182 oki4w okiibm
omni oprp opvp paintjet pam pbm pbmraw pcl3 pcx16 pcx24b pcx256 pcx2up
...
The config.log file in IM 6.5.3-2 says everything is fine.
configure:44795: checking for Ghostscript
configure:44797: result:
configure:44799: checking for Ghostscript version
configure:44806: result: 8.61
configure:44810: checking for gs alpha device
configure:44817: result: pngalpha
configure:44821: checking for gs color device
configure:44828: result: pnmraw
configure:44832: checking for gs CMYK device
configure:44839: result: bmpsep8
configure:44843: checking for gs mono device
configure:44850: result: pbmraw
configure:44854: checking for gs PDF writing device
configure:44861: result: pdfwrite
configure:44865: checking for gs PS writing device
configure:44872: result: pswrite
configure:44876: checking for gs EPS writing device
configure:44883: result: epswrite
So why does it complain during the ./configure?
Also if I do:
convert motorcycle.eps motorcycle2.png
returns:
Unknown device: bmpsep8
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
Unknown device: bmpsep8
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
convert: Postscript delegate failed `/var/tmp/magick-HL8Awl4H': No such file or directory @ ps.c/ReadPSImage/741.
convert: motorcycle.eps: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
with the following image:
http://www.fmwconcepts.com/misc_tests/motorcycle.eps
This file was posted by another use and I was trying to help him with it when I uncovered the above issues.
Re: anyone know how I can fix this install error?
We're not sure why its failing in this instance. Even if it fails with configure you can always go ahead and install ImageMagick and edit delegates.xml and change pnmraw to the pam device for the ps:cmyk tag. Now try
- convert -verbose motorcycle.eps motorcycle.miff
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: anyone know how I can fix this install error?
Don't you mean bmpsep8?
without changing anything:
convert -verbose motorcycle.eps motorcycle.miff
"gsc" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g121x87 "-sOutputFile=/var/tmp/magick-CmlkVhsf" "-f/var/tmp/magick-vbQ4G3V5" "-f/var/tmp/magick-ppU66HlG"
Unknown device: bmpsep8
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
"gsc" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g121x87 "-sOutputFile=/var/tmp/magick-CmlkVhsf" "-f/var/tmp/magick-vbQ4G3V5" "-f/var/tmp/magick-ppU66HlG" -c showpage
Unknown device: bmpsep8
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
motorcycle.eps TIFF 121x87 121x87+0+0 4-bit Palette PseudoClass 256c 23.6kb
motorcycle.eps EPT 121x87 121x87+0+0 4-bit Palette PseudoClass 256c 23.6kb
motorcycle.eps=>motorcycle.miff EPT 121x87 121x87+0+0 8-bit Palette PseudoClass 256c 16kb
convert: Postscript delegate failed `/var/tmp/magick-wXdm6939': No such file or directory @ ps.c/ReadPSImage/741.
convert: motorcycle.eps: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
without changing anything:
convert -verbose motorcycle.eps motorcycle.miff
"gsc" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g121x87 "-sOutputFile=/var/tmp/magick-CmlkVhsf" "-f/var/tmp/magick-vbQ4G3V5" "-f/var/tmp/magick-ppU66HlG"
Unknown device: bmpsep8
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
"gsc" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=bmpsep8" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g121x87 "-sOutputFile=/var/tmp/magick-CmlkVhsf" "-f/var/tmp/magick-vbQ4G3V5" "-f/var/tmp/magick-ppU66HlG" -c showpage
Unknown device: bmpsep8
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
motorcycle.eps TIFF 121x87 121x87+0+0 4-bit Palette PseudoClass 256c 23.6kb
motorcycle.eps EPT 121x87 121x87+0+0 4-bit Palette PseudoClass 256c 23.6kb
motorcycle.eps=>motorcycle.miff EPT 121x87 121x87+0+0 8-bit Palette PseudoClass 256c 16kb
convert: Postscript delegate failed `/var/tmp/magick-wXdm6939': No such file or directory @ ps.c/ReadPSImage/741.
convert: motorcycle.eps: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
Last edited by fmw42 on 2009-06-03T15:34:50-07:00, edited 1 time in total.
Re: anyone know how I can fix this install error?
No I mean 'pam'. Let's see if the PAM device works.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: anyone know how I can fix this install error?
How do I do that?
Also it seems to be failing when looking for the CMYK device and getting bmpsep8. Why are you asking about the pnmraw device? Wrong line? See my first message above. Perhaps I am getting confused.
Do I edit the delegates.xml file to change the ps:cmyk device from bmpsep8 to pam?
Also it seems to be failing when looking for the CMYK device and getting bmpsep8. Why are you asking about the pnmraw device? Wrong line? See my first message above. Perhaps I am getting confused.
Do I edit the delegates.xml file to change the ps:cmyk device from bmpsep8 to pam?
Re: anyone know how I can fix this install error?
Change the bmpsep8 device in config/delegates.xml to pam. Verify by running the convert command with -verbose and make sure it mentions pam rather than bmpsep8.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: anyone know how I can fix this install error?
OK changed in 3 places, but now it finds the same error with pam rather than bmpsep8magick wrote:Change the bmpsep8 device in config/delegates.xml to pam. Verify by running the convert command with -verbose and make sure it mentions pam rather than bmpsep8.
convert -verbose motorcycle.eps motorcycle.miff
"gsc" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g121x87 "-sOutputFile=/var/tmp/magick-eyHttDYM" "-f/var/tmp/magick-9h3l33gt" "-f/var/tmp/magick-VM7dLcCc"
Unknown device: pam
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
"gsc" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g121x87 "-sOutputFile=/var/tmp/magick-eyHttDYM" "-f/var/tmp/magick-9h3l33gt" "-f/var/tmp/magick-VM7dLcCc" -c showpage
Unknown device: pam
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
motorcycle.eps TIFF 121x87 121x87+0+0 4-bit Palette PseudoClass 256c 23.6kb
motorcycle.eps EPT 121x87 121x87+0+0 4-bit Palette PseudoClass 256c 23.6kb
motorcycle.eps=>motorcycle.miff EPT 121x87 121x87+0+0 8-bit Palette PseudoClass 256c 16kb
convert: Postscript delegate failed `/var/tmp/magick-7xxhZhlW': No such file or directory @ ps.c/ReadPSImage/741.
convert: motorcycle.eps: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory' @ tiff.c/TIFFWarnings/525.
Do I need to restart my computer after editing the delegates.xml file?
Re: anyone know how I can fix this install error?
No need for a restart. The problem appears to be a Ghostscript installation problem. You can test by running Ghostscript directly from the command line.
- convert logo: logo.ps
"gsc" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g121x87 "-sOutputFile=logo.pam" "logo.ps"
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: anyone know how I can fix this install error?
Fred, could you have two ghostscript programs installed?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/