How to install freetype delegate/ImageMagick 6.8.8 (Centos)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
silversonicaxel
Posts: 10
Joined: 2013-12-19T07:00:20-07:00
Authentication code: 6789

How to install freetype delegate/ImageMagick 6.8.8 (Centos)

Post by silversonicaxel »

I needed ImageMagick to use some web fonts on creating image. I installed ImageMagick 6.8.8 on my Centos Linux server machine, but freetype are not installed, after I ./configure the summary of my configuration is like this

Code: Select all

FreeType          --with-freetype=yes       no
and while is configuring it shows this message

Code: Select all

Checking FreeType                 .... no
Checking Font[something]          .... no
I've freetype installed in the version 2.4.12, but I had these problems installing the version 2.5.2

Code: Select all

/usr/include/libpng12/pngconf.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
I looked a lot on the internet, somebody was talking about installing libpng library (done) or pkg-config (already installed), but still nothing.

Any ideas? Thank you in advance and if you need more information, let me know.
dhekkir
Posts: 1
Joined: 2014-05-08T06:20:32-07:00
Authentication code: 6789

Re: How to install freetype delegate/ImageMagick 6.8.8 (Cent

Post by dhekkir »

I'm not sure about Centos, but on my Ubuntu I had to install fontconfig as well, besides freetype. I had tried installing only freetype at first, but it didn't work, so I installed fontconfig (which had several dependencies, some of which may have actually helped) and then running ./configure it found freetype.
Post Reply