Subject: Re: build.sh build craps out
To: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 03/30/2005 03:45:20
Hi Michael, guys.

I did as suggested by Luke Mewburn and chose different dir for obj and the tools dir outside the /usr/src dir.
I got a different error msg then.
I dont have any opts in my mk.conf, in fact it's empty.



On Tue, 29 Mar 2005 19:47:58 -0700 (MST)
"Michael L. Hitch" <mhitch@lightning.msu.montana.edu> wrote:

> On Tue, 29 Mar 2005, Marcin Jessa wrote:
> 
> > I removed the old obj files, removed the old and refetched new sources, created new dest dir, ran
> >  ./build.sh -O /usr/obj -D /usr/NetBSD-current -T /usr/src/tools build
> > and I still get the same error:
> > #    create  eqn/eqn.d
> > CC=/usr/src/tools/bin/i386--netbsdelf-gcc /usr/src/tools/bin/nbmkdep -f eqn.d --   -DHAVE_CONFIG_H -I/usr/src/gnu/dist/groff/src/include -I/usr/src/gnu/usr.bin/groff/src/include  -nostdinc++ -isystem-cxx  /usr/NetBSD-current/usr/include/g++    -nostdinc -isystem /usr/NetBSD-current/usr/include   eqn.cpp
> > /usr/src/gnu/dist/groff/src/preproc/eqn/eqn.y:27:17: box.h: No such file or directory
> > nbmkdep: compile failed.
> 
>   Let me make a wild guess - do you have a 'COPTS=' entry in /etc/mk.conf?
> That will override COPTS set in parts of the build process and the missing
> value is probably a "-I." that is needed.
> 
> --
> Michael L. Hitch			mhitch@montana.edu
> Computer Consultant
> Information Technology Center
> Montana State University	Bozeman, MT	USA
> 


-- 

Regards,
M. Jessa
http://www.yazzy.org