Date: Fri, 26 May 2000 21:01:14 -0700 From: Doug Barton <DougB@gorean.org> To: John Daniels <jmd526@hotmail.com> Cc: freebsd-Stable@freebsd.org Subject: Re: make includes Message-ID: <392F488A.96F85F6B@gorean.org> References: <20000527033656.79579.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?392F488A.96F85F6B>