Subject: Re: 2.0: can't build src/x11
To: Hubert Feyrer <hubert@feyrer.de>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-x11
Date: 04/03/2004 05:31:01
On Sat, 3 Apr 2004, Hubert Feyrer wrote:

> On Fri, 2 Apr 2004, Hubert Feyrer wrote:
> > 	/usr/cvs/xsrc/xfree/xc/lib/expat/xmlparse.c:29:19: expat.h: No such file or directory
>
> Investigating this further, a way to fix this for me is to add CPPFLAGS
> for the .PATH/.path statement in there:
>
> 	 .PATH: ${X11SRCDIR.xc}/extras/expat/lib
> 	+CPPFLAGS+=     -I${X11SRCDIR.xc}/extras/expat/lib
>
> This gets the header found for me, but I wonder how it's found for
> everyone else?

lint evidently adds the directory of the path given to "-i" to the
path to search for includes. Maybe your tools lint is built wrong
somehow, perhaps because some test for "uname" is going wrong with
the 1.6 userland and 2.0 kernel? Try building with '-V MKLINT=NO'.

Frederick