Installation problem

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.
Locked
abhishekv1

Installation problem

Post by abhishekv1 »

I just got a new server in which I installed ImageMagick-6.2.7. After
installing, I did 'make check' finally which showed me this:


=================================================================================
6 of 714 tests failed
Please report to http://redux.imagemagick.org/discussion ... um.php?f=3
=================================================================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/root/ImageMagick-6.2.7'
make: *** [check-am] Error 2

Then I traced all the 6 failures and have listed them below:

Caught exception: lt-button: FreeType library is not available `#CCCCCC'
FAIL: Magick++/demo/button.sh
Read images ...
Creating thumbnails...
add noise ...
annotate ...
Caught exception: lt-demo: FreeType library is not available `/root/ImageMagick-6.2.7/Magick++/demo/model.miff'
FAIL: Magick++/demo/demo.sh
angle 0
Caught exception: lt-gravity: FreeType library is not available `#FFFFFFFFFFFF'
FAIL: Magick++/demo/gravity.sh
Caught exception: lt-piddle: FreeType library is not available `#FFFFFFFFFFFF'
FAIL: Magick++/demo/piddle.sh
Caught exception: lt-shapes: FreeType library is not available `#FFFFFFFFFFFF'
FAIL: Magick++/demo/shapes.sh
lt-convert: FreeType library is not available `/root/ImageMagick-6.2.7/Magick++/demo/model.miff'.
FAIL: utilities/tests/annotate.sh

The above FAIL messages I just mailed you for your information. My main concern is that after installation, I got all the IM tools except gifsicle.
When I do 'whereis gifsicle' or 'locate gifsicle', it is not able to find. How do I get gifsicle?

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

When you ran the ImageMagick configure script, the final few lines of output complains it did not find the Freetype delegate library. You'll need this in order for the regression tests to pass. You can use ImageMagick without the Freetype delegate library but text annotation will not work well.

abhishekv1

Post by abhishekv1 »

Hi,

You are right. When I tried convert using annotate, it gave me the same
error message. But test annotation is an important requirement. Please guide me how to rectify this problem. I have done IM installation so many times, but this is the firts time I am facing this problem.

Regards,
Abhishek

abhishekv1

Post by abhishekv1 »

hi,

Originally configuration for the same was as follows:
FreeType --with-freetype=yes no
I downloaded freetype-2.2.1.tar and installed it.

[root@clg ~]# freetype-config --prefix
/usr/local/


But still annotating is not working. When I type a convert command with annotate from commandline, it says:
convert: FreeType library is not available `none'.

Do I have to set the path or something. If yes, how to do it.
Or is it that I have to uninstall and install IM again.

Please help,
regards,
Abhishek

abhishekv1

Post by abhishekv1 »

Oh thanks for showing interest. The problem was long back. It's solved
now. I downloaded the freefont library again and did this:

$ gunzip freetype-2.2.1.tar.gz
$ tar -xvf freetype-2.2.1.tar
$ cd freetype-2.2.1
$ ./configure --prefix=<yourprefix>
$ make
$ make install

It worked.

Thx anyways. This info would be useful for someone.

Abhishek

Locked