Page 1 of 1

How to install freetype delegate/ImageMagick 6.8.8 (Centos)

Posted: 2014-01-03T09:21:35-07:00
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.

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

Posted: 2014-05-08T06:25:10-07:00
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.