[GRASS5] configure and freetype2

Hi again,

yesterday I tried to compile the d.text.freetype but the
configure refuses to recognize the library. I used:

./configure --with-freetype
--with-freetype-includes=/usr/include/freetype2 [...]

but:
checking whether to use FreeType... no
checking whether to build FreeType programs... no

configure --help |grep freetype
  --with-freetype support FreeType functionality (default: no)
  --with-freetype-includes=DIRS
  --with-freetype-libs=DIRS

Inside /usr/include/freetype2 is another freetype/ directory including the
header file.

Any hints for me?
Thanks,

Markus

Markus Neteler wrote:

yesterday I tried to compile the d.text.freetype but the
configure refuses to recognize the library. I used:

./configure --with-freetype
--with-freetype-includes=/usr/include/freetype2 [...]

but:
checking whether to use FreeType... no

Very odd. This check is simply detects whether --with-freetype was
used.

--
Glynn Clements <glynn.clements@virgin.net>

On Sun, Jan 13, 2002 at 11:41:38PM +0900, GRASS wrote:

Hi Markus,

> yesterday I tried to compile the d.text.freetype but the
> configure refuses to recognize the library. I used:
>
> ./configure --with-freetype
> --with-freetype-includes=/usr/include/freetype2 [...]

configure tries to find ft2build.h and this file includes
.../freetype2/freetype/config/ftheader.h. In my case, ft2build.h is located
in /usr/local/include and other freetype header files are in
/usr/local/include/freetype2.

So check whether there is ft2build.h in /usr/include and use
--with-freetype-includes=/usr/include.

Hope this helps,

Huidae Cho

Hi Huidae and Glynn,

the suggestion by Huidae doesn't help because:

checking whether to use FreeType... no
remains. In fact strange...

Markus