Page 1 of 1

make check fails

Posted: 2010-06-23T01:23:32-07:00
by AlbaWolf
Sir/Madam

I am trying to install ImageMagick-6.6.2-6.tar on a Scientific Linux 5 (64 bit machine)

A uname -a yields

Linux ????.st-and.ac.uk 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:12:52 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

I obtain ImageMagick-6.6.2-6.tar untar it proceed to
  • ./configure
    make
    make install
    make check
Everything goes ok till the make check

Code: Select all

make check
make  check-am
make[1]: Entering directory `/root/tarfiles/Software/ImageMagick/ImageMagick-6.6.2-6'
make  tests/validate  wand/drawtest wand/wandtest
make[2]: Entering directory `/root/tarfiles/Software/ImageMagick/ImageMagick-6.6.2-6'
  CC     tests/tests_validate-validate.o
  CCLD   tests/validate
  CC     wand/drawtest.o
  CCLD   wand/drawtest
  CC     wand/wandtest.o
  CCLD   wand/wandtest
make[2]: Leaving directory `/root/tarfiles/Software/ImageMagick/ImageMagick-6.6.2-6'
make  check-TESTS check-local
make[2]: Entering directory `/root/tarfiles/Software/ImageMagick/ImageMagick-6.6.2-6'
make[3]: Entering directory `/root/tarfiles/Software/ImageMagick/ImageMagick-6.6.2-6'
PASS: tests/validate-compare.sh
PASS: tests/validate-composite.sh
PASS: tests/validate-convert.sh
PASS: tests/validate-identify.sh
PASS: tests/validate-import.sh
PASS: tests/validate-montage.sh
PASS: tests/validate-pipe.sh
PASS: tests/validate-stream.sh
PASS: tests/validate-formats-in-memory.sh
PASS: tests/validate-formats-on-disk.sh
PASS: wand/drawtest.sh
FAIL: wand/wandtest.sh
===========================================
1 of 12 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/tarfiles/Software/ImageMagick/ImageMagick-6.6.2-6'
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory `/root/tarfiles/Software/ImageMagick/ImageMagick-6.6.2-6'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/root/tarfiles/Software/ImageMagick/ImageMagick-6.6.2-6'
make: *** [check] Error 2


FYI  a  cat ./test-suite.log  produces

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

1 of 12 tests failed.

.. contents:: :depth: 2


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

CRIT: rangecheck in .setuserparams
Operand stack:
    --nostringval--  --nostringval--  --nostringval--
CRIT: rangecheck in .setuserparams
Operand stack:
    --nostringval--  --nostringval--  --nostringval--
lt-wandtest: delegate library support not built-in `/usr/share/fonts/default/Type1/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1449.
lt-wandtest: Postscript delegate failed `/tmp/magick-XX8fEP5p':  @ error/ps.c/ReadPSImage/779.
CRIT: rangecheck in .setuserparams
Operand stack:
    --nostringval--  --nostringval--  --nostringval--
CRIT: rangecheck in .setuserparams
Operand stack:
    --nostringval--  --nostringval--  --nostringval--
lt-wandtest: delegate library support not built-in `/usr/share/fonts/default/Type1/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1449.
lt-wandtest: Postscript delegate failed `/tmp/magick-XXptRQjV':  @ error/ps.c/ReadPSImage/779.
CRIT: rangecheck in .setuserparams
Operand stack:
    --nostringval--  --nostringval--  --nostringval--
CRIT: rangecheck in .setuserparams
Operand stack:
    --nostringval--  --nostringval--  --nostringval--
lt-wandtest: delegate library support not built-in `/usr/share/fonts/default/Type1/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1449.
lt-wandtest: Postscript delegate failed `/tmp/magick-XXkHqvxr':  @ error/ps.c/ReadPSImage/779.
CRIT: rangecheck in .setuserparams
Operand stack:
    --nostringval--  --nostringval--  --nostringval--
CRIT: rangecheck in .setuserparams
Operand stack:
    --nostringval--  --nostringval--  --nostringval--
lt-wandtest: delegate library support not built-in `/usr/share/fonts/default/Type1/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1449.
lt-wandtest: Postscript delegate failed `/tmp/magick-XXOrf8KY':  @ error/ps.c/ReadPSImage/779.
wand/wandtest.c main 532
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...
Any help would be sincerely appreciated

Thanking you.

Yours sincerely



Ian Taylor
University of St.Andrews,
School of Physics & Astronomy,
North Haugh,
St.Andrews,
Fife KY16 9SS,
Scotland.

e-Mail :- iat@st-and.ac.uk
Tel :- (0)1334-463141
Fax :- (0)1334-463104

The University of St Andrews
is a charity registered in
Scotland : No SC013532.

Re: make check fails

Posted: 2010-06-23T06:00:23-07:00
by magick
ImageMagick requires that Ghostscript is installed and working properly for the validation tests to pass. You can safely ignore the test failing if you do not want to render text on images. If you do we recommend installing the Freetype library and verifying that Ghostscript is installed properly.

Re: make check fails

Posted: 2013-11-18T09:04:01-07:00
by cybergrrl
thank you for your answer, I complied it again with these options:

Code: Select all

./configure --with-gslib=/usr/local/share/ghostscript/9.10/lib --with-gs-font-dir=/usr/local/share/fonts --with-freetype=yes LDFLAGS=-lfreetype MA
GICK_LDFLAGS=-L/usr/local/lib -lfreetype
CPPFLAGS        = -I/usr/local/include/ImageMagick-6
LDFLAGS         = -lfreetype
MAGICK_LDFLAGS  = -L/usr/local/lib -lfreetype
Still the same error:
FAIL: tests/wandtest.tap 1
make[5]: Entering directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
make  all-recursive
make[6]: Entering directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
Making all in .
make[7]: Entering directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
make[6]: Leaving directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
make[5]: Leaving directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
============================================================================
Testsuite summary for ImageMagick 6.8.7
============================================================================
# TOTAL: 40
# PASS:  39
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to http://www.imagemagick.org
============================================================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/imperia_install/ImageMagick-6.8.7-5'
make: *** [check] Error 2
I installed freetype-2.4.0, I#m a bit helpless now.

Re: make check fails

Posted: 2013-11-19T01:17:53-07:00
by cybergrrl
I compiled it again with freetype support, but it fails again:
=========================================
ImageMagick 6.8.7: ./test-suite.log
=========================================

# TOTAL: 40
# PASS: 39
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/wandtest
====================

lt-wandtest: delegate library support not built-in `/usr/local/share/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
lt-wandtest: no decode delegate for this image format `/tmp/magick-28766z_GNz-jxZPIB1' @ error/constitute.c/ReadImage/552.
lt-wandtest: Postscript delegate failed `/tmp/magick-28766NMXpw2At66AA': No such file or directory @ error/ps.c/ReadPSImage/837.
lt-wandtest: delegate library support not built-in `/usr/local/share/fonts/n019003l.pfb' (Freetype) @ warning/annotate.c/RenderFreetype/1533.
lt-wandtest: no decode delegate for this image format `/tmp/magick-287663pfdZvYvAZJZ1' @ error/constitute.c/ReadImage/552.
lt-wandtest: Postscript delegate failed `/tmp/magick-28766VYx3jg2l81dX': No such file or directory @ error/ps.c/ReadPSImage/837.
tests/wandtest.c main 5323 non-conforming drawing primitive definition `text' @ error/draw.c/DrawImage/3168
1..1
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...
not ok
FAIL: tests/wandtest.tap 1