Subject: Re: 2.0: can't build src/x11
To: None <tech-x11@netbsd.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-x11
Date: 04/03/2004 11:23:38
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?
I'm facing the same problem next in src/x11/lib/font, and adding
-I${X11SRCDIR.xc}/lib/xtrans to CPPFLAGS.${fn} gets the compile find
Xtransint.h, but then compiling in src/x11/bin/lbxproxy complains again.
I wonder if either the headers aren't installed properly for me (into
destdir), or if that should be added to all Makefiles w/o installing the
header.
What's the general idea here?
- Hubert
--
Hubert Feyrer <hubert@feyrer.de>