Subject: Re: freetype2 required for fontconfig
To: None <netbsd-help@NetBSD.org>
From: Roger Fischer <r@aileron.org>
List: netbsd-help
Date: 10/04/2003 20:13:10
At 5:58 PM -0400 10/4/03, James K. Lowden wrote:
>Make sure you don't overlook the obvious (not that I think this is the
>problem):
>
>$ pkg_info -D fontconfig
>Information for fontconfig-2.1nb3:
>
>Install notice:
>=========================================================================
>==
>$NetBSD: MESSAGE,v 1.1 2002/12/25 03:06:02 grant Exp $
>
>You will need to run 'fc-cache' as root to build the X11
>font cache before attempting to use applications which
>use fontconfig-2.1nb3.


This is confusing.  This is the pkg_info for fontconfig, but the problem is
that I can't get fontconfig built.  I guess this needs to be done once I
get that far.


>You may find (as I did) that freetype-config points to an invalid
>directory.  You might try:
>

What is the invalid directory?  I'm a little confused.

>$ freetype-config --cflags  |sed 's!-I!!g' |xargs echo ls -d |sh
>/usr/local/include                      /usr/pkg/include/freetype2
>/usr/pkg/include


freetype-config alone, returns the following:

	# freetype-config --cflags
	-I/usr/pkg/include/freetype2 -I/usr/pkg/include


With the rest...:

	# freetype-config --cflags  |sed 's!-I!!g' |xargs echo ls -d |sh
	I!!g: Event not found.
	#