Building 6.8.2 freetype related question .....

Adam Jackson ajax at
Tue Apr 5 08:55:45 PDT 2005

On Tuesday 05 April 2005 02:28, Mark Carey wrote:
> My system already has freetype installed.......
> [root at jersey:/sources]# which freetype-config
> /usr/local/bin/freetype-config
> [root at jersey:/sources]# freetype-config --cflags
> -I/usr/local/include/freetype2 -I/usr/local/include
> [root at jersey:/sources]# pkg-config --cflags freetype2
> -I/usr/local/include/freetype2

It's a shame Xorg doesn't look at pkg-config flags yet.

> However looking at the above build output (make World after a make
> distclean in a lndir'ed directory) it would appear gcc has been
> instructed to look for freetype in /usr rather than /usr/local.
> My host.def contains
> #define HasFreetype2            YES
> Why isnt the imake system finding freetype?  Does the build system
> assume freetype installed in /usr?

Yes.  Hooray for imake.

As a workaround, add this to your host.def:

#define Freetype2Dir /usr/local

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the xorg mailing list