Subject: Re: adventures in pkgsrc: jpilot vs. fontconfig
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 05/26/2003 10:30:59
In message <20030526142739.GC21616@Xtrmntr.org>, 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:
>>=20
>> 	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 http://fontconfig.org
>>=20
>> 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:
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>$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, http://www.research.att.com/~smb (me)
		http://www.wilyhacker.com (2nd edition of "Firewalls" book)