Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2007 15:50:09 +0200
From:      Ian FREISLICH <ianf@clue.co.za>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        Jeremy Messenger <mezz7@cox.net>, freebsd-current@freebsd.org
Subject:   Re: Populating /usr/include for make buildworld? 
Message-ID:  <E1HGbZJ-000HYs-Sj@clue.co.za>
In-Reply-To: Message from Craig Rodrigues <rodrigc@crodrigues.org> of "Sat, 10 Feb 2007 13:56:12 EST." <20070210185612.GA4948@crodrigues.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1HGbZJ-000HYs-Sj>