Subject: Re: RC_5 xsrc compile failed
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Steven Sartorius <ssartor@bellatlantic.net>
List: netbsd-users
Date: 12/09/2007 19:10:12
On Dec 9, 2007, at 05:47, Manuel Bouyer wrote:
> On Sat, Dec 08, 2007 at 02:47:30PM -0500, Steven Sartorius wrote:
>> Hi,
>>
>> Using a fresh download of the RC_5 xsrc tarball I am unable to get
>> xsrc to compile. The kernel and userland RC_5 build without problems
>> but doing a './build.sh -x distribution' dies in xsrc with the
>> following message:
>>
>> dependall ===> x11/lib
>> dependall ===> x11/lib/X11
>> dependall ===> x11/lib/X11/dynamic
>> dependall ===> x11/lib/X11/static
>> dependall ===> x11/lib/ICE
>> dependall ===> x11/lib/Xau
>> dependall ===> x11/lib/freetype2
>> dependall ===> x11/lib/freetype2/freetype
>> dependall ===> x11/lib/freetype2/freetype/cache
>> dependall ===> x11/lib/freetype2/freetype/config
>> dependall ===> x11/lib/freetype2/freetype/internal
>> dependall ===> x11/lib/freetype2/freetype/internal/services
>> dependall ===> x11/lib/expat
>> # create expat/xmlrole.d
>> CC=/usr/src/obj.i386/tooldir.NetBSD-4.0_RC5-i386/bin/i386--netbsdelf-
>> gcc /usr/src/obj.i386/tooldir.NetBSD-4.0_RC5-i386/bin/nbmkdep -f
>> xmlrole.d -- -DXML_BYTE_ORDER=0 -I/usr/xsrc/xfree/xc/lib/expat -
>> DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/src/obj.i386/
>> destdir.i386/usr/X11R6/include -nostdinc -isystem /usr/src/
>> obj.i386/
>> destdir.i386/usr/include /usr/xsrc/xfree/xc/lib/expat/xmlrole.c
>> /usr/xsrc/xfree/xc/lib/expat/xmlrole.c:15:22: error: internal.h: No
>> such file or directory
>> /usr/xsrc/xfree/xc/lib/expat/xmlrole.c:16:21: error: xmlrole.h: No
>> such file or directory
>> /usr/xsrc/xfree/xc/lib/expat/xmlrole.c:17:19: error: ascii.h: No such
>> file or directory
>> nbmkdep: compile failed.
>
> It builds fine for me, and it did build on the compile cluster.
> Are you sure you don't have a stale .depend somewhere ?
I didn't think I did but just to be sure I deleted my /usr/obj
directory and rebuilt both userland and x11 -- everything is fine now...
Steve