Populating /usr/include for make buildworld?
Ian FREISLICH
ianf at clue.co.za
Mon Feb 12 13:51:12 UTC 2007
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
More information about the freebsd-current
mailing list