Error making test installation

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
ingel

Error making test installation

Post by ingel »

On a Ubuntu Server and Joomla 1.5 I have installed ImageMagick from sources. It seems to be all right, but when I used tests (/usr/local/bin/convert logo: logo.gif, make check) there were some errors.
This is the output of tests

Code: Select all

PASS: Magick++/demo/zoom_sinc.sh
PASS: Magick++/demo/zoom_triangle.sh
PASS: wand/drawtest.sh
FAIL: wand/wandtest.sh
===========================================
1 of 47 tests failed
See ./test-suite.log
Please report to http://www.imagemagick.org
===========================================
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory `/root/ImageMagick-6.5.8-0'
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory `/root/ImageMagick-6.5.8-0'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/root/ImageMagick-6.5.8-0'
make: *** [check] Error 2
root@vps1691:~/ImageMagick-6.5.8-0# /etc/init.d/apache2 restart
 * Restarting web server apache2                                           [ OK ]
root@vps1691:~/ImageMagick-6.5.8-0# nano test-suite.log
root@vps1691:~/ImageMagick-6.5.8-0# identify -version
identify: error while loading shared libraries: libMagickCore.so.2: cannot open shared object file: No such file or directory
root@vps1691:~/ImageMagick-6.5.8-0# clear
root@vps1691:~/ImageMagick-6.5.8-0# /usr/local/bin/convert logo: logo.gif
/usr/local/bin/convert: error while loading shared libraries: libMagickCore.so.2: cannot open shared object file: No such file or directory
root@vps1691:~/ImageMagick-6.5.8-0#
This os the file test-suite.log:

Code: Select all

=========================================
   ImageMagick 6.5.8: ./test-suite.log   
=========================================

1 of 47 tests failed.  

.. contents:: :depth: 2


FAIL: wand/wandtest.sh (exit: 255)
==================================

sh: gs: not found
sh: gs: not found
lt-wandtest: delegate library support not built-in `(null)' (Freetype) @ annotate.c/RenderFreetype/1417.
lt-wandtest: Postscript delegate failed `/tmp/magick-XXvGqSME': No such file or directory @ ps.c/ReadPSImage/765.
sh: gs: not found
sh: gs: not found
lt-wandtest: delegate library support not built-in `(null)' (Freetype) @ annotate.c/RenderFreetype/1417.
lt-wandtest: Postscript delegate failed `/tmp/magick-XXpNZXZH': No such file or directory @ ps.c/ReadPSImage/765.
sh: gs: not found
sh: gs: not found
lt-wandtest: delegate library support not built-in `(null)' (Freetype) @ annotate.c/RenderFreetype/1417.
lt-wandtest: Postscript delegate failed `/tmp/magick-XXGwUCfL': No such file or directory @ ps.c/ReadPSImage/765.
sh: gs: not found
sh: gs: not found
lt-wandtest: delegate library support not built-in `(null)' (Freetype) @ annotate.c/RenderFreetype/1417.
lt-wandtest: Postscript delegate failed `/tmp/magick-XX2HYNxO': No such file or directory @ ps.c/ReadPSImage/765.
wand/wandtest.c main 529 
Reading images...
Iterate forward...
index 0 scene 0
index 1 scene 1
index 2 scene 2
index 3 scene 3
index 4 scene 4
Iterate reverse...
index 4 scene 4
index 3 scene 3
index 2 scene 2
index 1 scene 1
index 0 scene 0
Remove scene 1...
index 0 scene 0
index 1 scene 2
index 2 scene 3
index 3 scene 4
Insert scene 1 back in sequence...
index 0 scene 0
index 1 scene 1
index 2 scene 2
index 3 scene 3
index 4 scene 4
Set scene 2 to scene 1...
index 0 scene 0
index 1 scene 1
index 2 scene 1
index 3 scene 3
index 4 scene 4
Apply image processing options...
Thanks!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Error making test installation

Post by magick »

The tests requires Ghostscript to pass. The gs program must be in your execution path. However, if you do not need to read Postscript or PDF files, ImageMagick will function just fine without Ghostscript.
ingel

Re: Error making test installation

Post by ingel »

Thank for your answer :)
No, ghostscript isn't useful for my apllication!
Post Reply