Re: Populating /usr/include for make buildworld?

From: Ian FREISLICH <ianf_at_clue.co.za>
Date: Mon, 12 Feb 2007 15:50:09 +0200
Craig Rodrigues wrote:
> On Sat, Feb 10, 2007 at 12:35:30PM -0600, Jeremy Messenger wrote:
> > >What is the correct way to populate /usr/include
> > >before buildworld?
> > 
> > Have you tried to run 'make includes'?
> 
> Hi,
> 
> I tried this:
> 
> cd /usr/obj; rm -r *
> cd /usr/include; rm -r *
> cd /usr/src; make includes

Indeed, and 'make installincludes' fails without a /usr/include
that has the required subdirectories because it doesn't mtree.

cd /usr/include; find . -type f -delete
cd /usr/src; make installincludes

-OR-

cd /usr/include; rm -r *; mtree -eU  -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include
cd /usr/src; make installincludes

Ian

--
Ian Freislich
Received on Mon Feb 12 2007 - 12:51:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC