[GRASS-dev] freetype on gentoo
Stefán István
stefi at geohidroterv.hu
Fri May 19 07:07:38 EDT 2006
péntek 19 május 2006 11.43 dátummal Glynn Clements ezt írta:
>
> Stef-Bán István wrote:-A
>
> > I would like to compile Grass with freetype support, but the configure
fails:
> > checking for location of FreeType includes...
> > checking for ft2build.h... no
> > configure: error: *** Unable to locate FreeType includes.
> >
> > I'm using Gentoo and I have installed freetype package, and the ft2build.h
> > file is in the /usr/include directory, so I don't understand why Grass
> > doesn't find it, even if I add --with-freetype-includes=/usr/include to
the
> > configure script.
>
> You need --with-freetype-includes=/usr/include/freetype2.
>
> ft2build.h simply includes <freetype/config/ftheader.h>. In order to
> be able to find that header, /usr/include/freetype2 has to be added to
> the compiler's include path.
>
> Note that header checks don't simply try to locate a file with a given
> name, they try to use it (i.e. preprocess a test program which
> includes the specified header).
>
> More generally, if a configure test fails, the contents of the
> config.log file will provide an indication of exactly what the test
> did and any error messages which it generated.
Thank you very much, it works now.
Best regards,
Istvan
More information about the grass-dev
mailing list