Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make check failure installing ImageMagick-7.0.4-7 on ubuntu 16.04 #374

Closed
RMPnet-UK opened this issue Feb 7, 2017 · 5 comments
Closed
Labels

Comments

@RMPnet-UK
Copy link

Hi,
I was installing following these instructions:
http://www.imagemagick.org/script/install-source.php
and got two fails when running the check

FAIL: tests/wandtest

lt-wandtest: delegate library support not built-in 'none' (Freetype) @ warning/annotate.c/RenderFreetype/1792.
lt-wandtest: delegate library support not built-in 'none' (Freetype) @ warning/annotate.c/RenderFreetype/1792.
tests/wandtest.c main 5321 non-conforming drawing primitive definition `text' @ error/draw.c/DrawImage/3269
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

FAIL: Magick++/demo/demos

Caught exception: lt-piddle: non-conforming drawing primitive definition `text' @ error/draw.c/DrawImage/3269
lt-shapes: delegate library support not built-in 'none' (Freetype) @ warning/annotate.c/RenderFreetype/1792.
lt-shapes: delegate library support not built-in 'none' (Freetype) @ warning/annotate.c/RenderFreetype/1792.
lt-shapes: delegate library support not built-in 'none' (Freetype) @ warning/annotate.c/RenderFreetype/1792.
lt-shapes: delegate library support not built-in 'none' (Freetype) @ warning/annotate.c/RenderFreetype/1792.
lt-shapes: delegate library support not built-in 'none' (Freetype) @ warning/annotate.c/RenderFreetype/1792.
lt-shapes: delegate library support not built-in 'none' (Freetype) @ warning/annotate.c/RenderFreetype/1792.
not ok
FAIL: Magick++/demo/demos.tap 6

Full ./test-suite.log ImageMagick-7.0.4-7 test-suite.pdf
I'm not sure if there is a better way to get the latest version of ImageMagick installed, I had tried the .rpm but got loads of missing dependencies so tried the source compile route instead.

@mikayla-grace
Copy link

In order for the unit tests to pass, you need to install the Freetype development package before you build ImageMagick from source. Once Freetype is installed, the ImageMagick build process will detect it and include support for font rendering.

@dlemstra
Copy link
Member

Besides Freetype you also need Ghostscript. I installed the following packages on my Ubuntu machine:

apt install libfreetype6-dev
apt install libfontconfig1-dev
apt install ttf-mscorefonts-installer # you prob don't need this.
apt install ghostscript

And I now get the following result:

============================================================================
Testsuite summary for ImageMagick 7.0.4
============================================================================
# TOTAL: 86
# PASS:  86

@RMPnet-UK
Copy link
Author

RMPnet-UK commented Feb 14, 2017

Thanks @dlemstra that did the trick, I didn't install ttf-mscorefonts-installer, just the others and all tests passed :)

Regards
Keith

@emmaodia
Copy link

emmaodia commented May 3, 2017

Hi, I followed the instructions by @dlemstra and I get this error
The following packages have unmet dependencies: libfreetype6-dev : Depends: libfreetype6 (= 2.4.8-1ubuntu2) but 2.4.8-1ubuntu2.1 is to be installed E: Unable to correct problems, you have held broken #packages.

What do I do now?

@dlemstra
Copy link
Member

dlemstra commented May 7, 2017

Does this help you @emmaodia: https://askubuntu.com/a/663823

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants