Subject: Re: adventures in pkgsrc: jpilot vs. fontconfig
To: Lubomir Sedlacik <>
From: Steven M. Bellovin <>
List: netbsd-users
Date: 05/26/2003 10:30:59
In message <>, Lubomir Sedlacik writes:

>On Mon, May 26, 2003 at 10:24:57AM -0400, Steve Bellovin wrote:
>> I recently had to reinstall jpilot as part of a larger recompilation=20
>> involving the usual pkgsrc dependencies.  But it no longer works:
>> 	b129$ jpilot
>> 	No fonts found; this probably means that the fontconfig
>> 	library is not correctly configured. You may need to
>> 	edit the fonts.conf configuration file. More information
>> 	about fontconfig can be found in the fontconfig(3) manual
>> 	page and on
>> What am I supposed to do to configure fontconfig?  Removing and=20
>> reinstalling it hasn't helped.
>$ pkg_info -D fontconfig
>Information for fontconfig-2.1nb4:
>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.1nb4.

Thanks; that did it.  But why isn't fc-cache run as part of the 
installation script for font-config?

		--Steve Bellovin, (me) (2nd edition of "Firewalls" book)