Page 1 of 1

Failed installation

Posted: 2009-08-31T09:21:07-07:00
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

Re: Failed installation

Posted: 2009-08-31T10:24:00-07:00
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.

Re: Failed installation

Posted: 2009-09-01T02:01:51-07:00
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

Re: Failed installation

Posted: 2009-09-01T06:42:53-07:00
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.

Re: Failed installation

Posted: 2009-09-01T06:52:18-07:00
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.

Re: Failed installation

Posted: 2009-09-01T07:27:05-07:00
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.