Failed installation

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mikrjd

Failed installation

Post by mikrjd »

I have just tried to install ImageMagick to my server. After #make install there were 3 errors so I ran #make check and the output included :

fail: tests/validate-format-on-disk.sh
fail: tests/validate-format-in-memory.sh

2 of 47 tests failed

Is this serious and what do I do to correct it?

regards,
Mike
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Failed installation

Post by magick »

Post a few lines around the 2 tests that fail in tests/validate-format-on-disk.log. That will tell use which tests failed and we might be able to tell why they failed. Thanks.
mikrjd

Re: Failed installation

Post by mikrjd »

The following is the first lines of output for validate-formats-on-disk.log :

FAIL: tests/validate-formats-on-disk.sh (exit: 1)
=================================================

sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
sh: gs: command not found
lt-validate: Postscript delegate failed `/tmp/magick-XXe0zsC6': No such file or directory @ pdf.c/ReadPDFImage/611.
Version: ImageMagick 6.5.5-3 2009-08-31 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

ImageMagick Validation Suite (FormatsOnDisk)

validate image formats on disk:
test 0: AI/TrueColor/8-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 1: AI/TrueColorMatte/8-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 2: AI/Grayscale/8-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 3: AI/GrayscaleMatte/8-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 4: AI/Palette/8-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 5: AI/PaletteMatte/8-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 6: AI/PaletteBilevelMatte/8-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 7: AI/Bilevel/1-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 8: AI/ColorSeparation/8-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 9: AI/ColorSeparationMatte/8-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 10: AI/TrueColor/10-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 11: AI/TrueColor/12-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 12: AI/TrueColor/16-bits... fail @ tests/validate.c/ValidateImageFormatsOnDisk/744.
test 13: ART/TrueColor/8-bits... pass.

After this everything passed.

cheers,
Mike
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Failed installation

Post by magick »

The validation program requires Ghostscript. ImageMagick can work fine without Ghostscript but it is generally recommended to assist ImageMagick in rendering Postscript, PDF, and some fonts.
mikrjd

Re: Failed installation

Post by mikrjd »

Do I need to install Ghostscript? If so where do I install it and before or after installing ImageMagick?

Thanks for any assistance.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Failed installation

Post by magick »

Ghostscript is optional. If you want to render PDF or Postscript download and install it. You do not need to rebuild / reinstall ImageMagick after you install Ghostscript.
Post Reply