Subject: X11 build from /usr/src
To: None <current-users@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 01/11/2004 11:41:53
Hi,

I added

MKX11=yes
X11SRCDIR=/usr/xsrc

to /etc/mk.conf, rebuilt the tools, and attempted a

./build.sh -T ./tooldir.i386  distribution

I keep getting errors like

(cd /usr/src/x11/tools/pswrap && /usr/src/tooldir.i386/bin/nbmake)
#   compile  pswrap/main.lo
cc -O -DXENVIRONMENT -DFRIENDSFILE='"<DPS/dpsfriends.h>"' -I. 
-I/usr/xsrc/xfree/xc/config/pswrap -c -o 
main.lo.o    /usr/xsrc/xfree/xc/config/pswrap/main.c
/usr/xsrc/xfree/xc/config/pswrap/main.c:43:21: X11/Xos.h: No such file 
or directory

*** Failed target:  main.lo
*** Failed command: cc -O -DXENVIRONMENT 
-DFRIENDSFILE='"<DPS/dpsfriends.h>"' -I. 
-I/usr/xsrc/xfree/xc/config/pswrap -c -o 
main.lo.o /usr/xsrc/xfree/xc/config/pswrap/main.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/x11/tools/pswrap

*** Failed target:  /usr/src/x11/tools/pswrap/obj.i386/pswrap
*** Failed command: (cd /usr/src/x11/tools/pswrap 
&& /usr/src/tooldir.i386/bin/nbmake)
*** Error code 1

in the X11 part of the build.  This is on i386.  Ideas?

Sverre