Subject: Re: X11 problems
To: None <netbsd@left.wing.org>
From: Rick Kelly <rmk@toad.rmkhome.com>
List: current-users
Date: 12/10/2004 19:53:27
Ed Gould said:

>The "right" way is to use build.sh.  The -x flag says build X.  The 
>default is not to build X.  The -X flag specifies where the xsrc 
>directory is, if it's not /usr/xsrc.  E.g.,
>
>	build.sh -x release
>
>will (when run as root) build a release into the canonical places, from 
>sources rooted in the current directory and X sources in /usr/xsrc.  
>Add other build.sh flags as appropriate for your situation.


There has to be something very wrong with the build tools. Sources updated
last night.

sh ./build.sh -O /usr/src/obj -X /usr/src/xsrc -x release

The tools got rebuilt, and the it started to build X.

dependall ===> x11/lib/expat
#    create  expat/xmlparse.d
CC=/usr/src/obj/tooldir.NetBSD-2.99.9-i386/bin/i386--netbsdelf-gcc /usr/src/obj/tooldir.NetBSD-2.99.9-i386/bin/nbmkdep -f xmlparse.d --      -DXML_BYTE_ORDER=0 -I/usr/src/xsrc/xfree/xc/lib/expat -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/src/obj/destdir.i386/usr/X11R6/include   -nostdinc -isystem /usr/src/obj/destdir.i386/usr/include  /usr/src/xsrc/xfree/xc/lib/expat/xmlparse.c
/usr/src/xsrc/xfree/xc/lib/expat/xmlparse.c:94:22: internal.h: No such file or directory
/usr/src/xsrc/xfree/xc/lib/expat/xmlparse.c:95:20: xmltok.h: No such file or directory
/usr/src/xsrc/xfree/xc/lib/expat/xmlparse.c:96:21: xmlrole.h: No such file or directory
nbmkdep: compile failed.

It is not finding include files that are right there in:

/usr/src/xsrc/xfree/xc/lib/expat

roothog# pwd
/usr/src/xsrc/xfree/xc/extras/expat/lib
roothog# ls
CVS             iasciitab.h     utf8tab.h       xmlrole.h       xmltok_impl.h
ascii.h         internal.h      winconfig.h     xmltok.c        xmltok_ns.c
asciitab.h      latin1tab.h     xmlparse.c      xmltok.h
expat.h         nametab.h       xmlrole.c       xmltok_impl.c

Something is very broken.
-- 
Rick Kelly  rmk@rmkhome.com  www.rmkhome.com