From owner-freebsd-stable Fri May 26 21: 1:19 2000 Delivered-To: freebsd-stable@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 358CE37B57D for ; Fri, 26 May 2000 21:01:16 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id VAA83292; Fri, 26 May 2000 21:01:14 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <392F488A.96F85F6B@gorean.org> Date: Fri, 26 May 2000 21:01:14 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0523 i386) X-Accept-Language: en MIME-Version: 1.0 To: John Daniels Cc: freebsd-Stable@freebsd.org Subject: Re: make includes References: <20000527033656.79579.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Daniels wrote: > > Hi: > > I am a newbie. Just when I thought I was prepared to go from 4.0-RELEASE to > 4.0-STABLE (after hours of research and preparation), I find that ... > > Doug Barton wrote: > >I got bit the other day by the need to 'rm -r /usr/include/*' then do > >a 'make includes' in /usr/src. If this build fails, that might help > >you. > > I haven't seen this documented anywhere. When should this be done? Is > there a reason it is not in the handbook (chapter 7 Configuring the FreeBSD > Kermel, or chapter 18 The cutting edge: which explains how to keep > up-to-date with -Current and -Stable)? Are there any other (undocumented) > "gotchas" that people should know about? Nuking /usr/include is usually only necessary when extreme changes have happened. Although it's rarely actually necessary to do it, it usually doesn't hurt. A safer method would be: cd /usr mv include include-old mkdir include chmod 755 include cd /usr/src make includes That way if your buildworld bombs for some reason, you've still got the set of includes that are in sync with your current environment. Nuke'em after you're done with installworld and kernel rebuild/reinstall. I'm working on some updates to the "make world" docs, but time has been really lacking lately. I wouldn't worry _too_ much though... especially in -Stable. People work really hard to make sure that big problems like this don't crop up very often. Good luck, Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message