Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2007 23:38:57 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        rodrigc@crodrigues.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: Populating /usr/include for make buildworld?
Message-ID:  <20070210.233857.-1947354995.imp@bsdimp.com>
In-Reply-To: <20070210165904.GA58269@crodrigues.org>
References:  <20070210165904.GA58269@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20070210165904.GA58269@crodrigues.org>
            Craig Rodrigues <rodrigc@crodrigues.org> writes:
: Hi,
: 
: I am trying to see if I have any outdated files in /usr/include by
: doing:
: cd /usr/obj ; rm -r *
: cd /usr/include ; rm -r *
: cd /usr/src; make buildworld
: 
: buildworld is failing in a few places because
: the installincludes step is not populating
: /usr/include/zlib.h, /usr/include/zconf.h, or /usr/include/termcap.h
: 
: What is the correct way to populate /usr/include 
: before buildworld?

"make installworld" :-)

The proper way to get rid of outdated files is 'make delete-old-files'.

However, if you've borked this system, you may be able to get things
back with a 'make includes' but that can fail at times due to
dependencies on /usr/include that creep in.  You may have to define a
lot of WITHOUT_FOO variables.

You may be able to install the tarballs from a release that includes
the includes to recover...  You may need to say OSRELDATE=0 on the
command line to successfully build.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070210.233857.-1947354995.imp>