Subject: X apps cannot find app-defaults
To: None <tech-pkg@netbsd.org>
From: Chuck Cranor <chuck@ece.cmu.edu>
List: tech-pkg
Date: 04/16/2004 14:32:15
hi-

    i just built a netbsd-2-0 system (src and xsrc [via src/x11]) 
with a -current pkgsrc from scratch this week.

    my freshly compild applications are not finding their app-defaults 
files...  they are looking in /usr/X11R6/lib/X11/app-defaults, but the 
files are getting installed in /usr/pkg/lib/X11/app-defaults.   i.e.:


xxx[4]> which xmmix
/usr/pkg/bin/xmmix
xxx[5]> ktrace /usr/pkg/bin/xmmix
^Cxxx[6]> kdump | grep app-default
 12497 xmmix    NAMI  "/usr/X11R6/lib/X11/C/app-defaults/XMmix-color"
 12497 xmmix    NAMI  "/usr/X11R6/lib/X11/app-defaults/XMmix-color"
 12497 xmmix    NAMI  "/usr/X11R6/lib/X11/C/app-defaults/XMmix"
 12497 xmmix    NAMI  "/usr/X11R6/lib/X11/app-defaults/XMmix"
xxx[7]> ls /usr/X11R6/lib/X11/app-defaults/*ix
ls: No match.
xxx[8]> ls /usr/pkg/lib/X11/app-defaults/*ix
/usr/pkg/lib/X11/app-defaults/XMix      /usr/pkg/lib/X11/app-defaults/XMmix
xxx[9]> 

what have I done wrong?

chuck