Subject: /usr/src/x11 not building
To: None <current-users@netbsd.org>
From: Steve Bellovin <smb@research.att.com>
List: current-users
Date: 03/07/2004 15:23:19
I'm trying a full build of -current, with

MKX11=yes
#X11SRCDIR=/usr/xsrc

in /etc/mk.conf.  It's dying in /usr/src/x11:

includes ===> lib/fontconfig/fontconfig
nbmake: don't know how to make fcfreetype.h. Stop

nbmake: stopped in /usr/src/x11/lib/fontconfig/fontconfig

*** Failed target:  includes-fontconfig
*** Failed command: targ=includes;dir=fontconfig; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /usr/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> lib/fontconfig/$dir"; cd "/usr/src/x11/lib/fontconfig/$dir"; /usr/tools/bin/nbmake "_THISDIR_=lib/fontconfig/$dir/" $targ; ;; esac
*** Error code 2

Stop.
nbmake: stopped in /usr/src/x11/lib/fontconfig

Apart from the question of what the problem here is, what is the 
relationship of /usr/src/x11 to /usr/xsrc?  Am I supposed to hae both?

		--Steve Bellovin, http://www.research.att.com/~smb