[GRASS5] [bug #2396] (grass) Freetype includes not found
Glynn Clements
glynn.clements at virgin.net
Mon May 3 14:14:42 EDT 2004
Request Tracker wrote:
> Subject: Freetype includes not found
>
> Platform: GNU/Linux/i386
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 5.3-cvs 20040502
> I just compiled 5.3-cvs from yesterday and I couldn't convince
> configure to find the freetype includes. The include path was set
>
> --with-freetype-includes=/usr/include/freetype2
>
> The error message is
>
> checking whether to use FreeType... yes
> checking for location of FreeType includes... /usr/include/freetype2
> checking for freetype/freetype.h... no
> configure: error: *** Unable to locate FreeType includes.
Check the config.log file for any relevant error messages.
If the error is the following:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
then you will need to use a different (older) version of FreeType, or
modify the FreeType headers yourself.
In their wisdom (or lack thereof), the FreeType developers have
decided to insist on the use a specific idiom for the use of FreeType
headers; one which doesn't work with autoconf's header checks.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list