[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] imagemagick says that freetype is not installed correctly
From: |
jonathan . foster |
Subject: |
Re: [Freetype] imagemagick says that freetype is not installed correctly |
Date: |
Mon, 16 Feb 2004 18:20:42 +0000 |
Hi,
> configure:37101: checking freetype/freetype.h usability
> configure:37113: gcc -c -g -O2 -Wall -I/usr/local/include/freetype2
> -D_FILE_OFFSET_BITS=64
> -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 conftest.c >&5
> /usr/local/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h'
> hasn't been
> included yet!"
> /usr/local/include/freetype2/freetype/freetype.h:21:2: #error "Please always
> use macros to
> include FreeType header files."
> /usr/local/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
> /usr/local/include/freetype2/freetype/freetype.h:23:2: #error " #include
> <ft2build.h>"
> /usr/local/include/freetype2/freetype/freetype.h:24:2: #error " #include
> FT_FREETYPE_H"
> | #include <freetype/freetype.h>
As the error message says, the ImageMagick configure script is doing
"#include <freetype/freetype.h>" to see if that works. This has never
been recommended, and recently this was deliberately broken. As the
error masage says, programs should use this instead:
#include <ft2build.h>
#include FT_FREETYPE_H
You need to ask the ImageMagick authors to fix their configure script.
Kind regards,
Jon Foster
--