Subject: Re: freetype2 required for fontconfig
To: Roger Fischer <r@aileron.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/28/2003 04:11:52
Daniel and Roger:

On Sun, 5 Oct 2003, Roger Fischer wrote:

> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src
> -I/usr/X11R6/include/freetype2  -I/usr/pkg/include  -O2
> -I/usr/pkg/include -c fc-lang.c
> In file included from ../src/fcint.h:39,
>                   from fc-lang.c:25:
> ../fontconfig/fcfreetype.h:27: freetype/freetype.h: No such file or directory

The same thing happened to me today on one of my systems.

../fontconfig/fcfreetype.h:27: freetype/freetype.h: No such file or directory

I had freetype2-2.1.4 installed. I removed it and installed latest.
And still same problem.

Then I see:
$ ls -l /usr/pkg/bin/freetype-config /usr/X11R6/bin/freetype-config
-rwxr-xr-x  1 root  wheel  1477 Sep  8  2002 /usr/X11R6/bin/freetype-config
-rwxr-xr-x  1 root  wheel  1609 Oct 28 04:01 /usr/pkg/bin/freetype-config

So I moved /usr/X11R6/bin/freetype-config out of the way. make clean and
then make worked.

   Jeremy C. Reed
   http://bsd.reedmedia.net/