From owner-freebsd-hackers Wed Dec 21 01:05:10 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id BAA01634 for hackers-outgoing; Wed, 21 Dec 1994 01:05:10 GMT Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id BAA01625 for ; Wed, 21 Dec 1994 01:05:08 GMT Received: by halloran-eldar.lcs.mit.edu; id AA09949; Mon, 19 Dec 1994 12:06:24 -0500 Date: Mon, 19 Dec 1994 12:06:24 -0500 From: Garrett Wollman Message-Id: <9412191706.AA09949@halloran-eldar.lcs.mit.edu> To: Morgan Davis Cc: hackers@freebsd.org Subject: Re: Error building libncurses In-Reply-To: <199412172030.MAA28715@io.cts.com> References: <362.787648009@time.cdrom.com> <199412172030.MAA28715@io.cts.com> Sender: hackers-owner@freebsd.org Precedence: bulk < said: > Thanks, Jordan. I've discovered "make world" and it's been building > for about 8 hours now. It seems that make world first wants to > remove all the object files to begin a full build. Any not only that, it will build your C compiler twice and your C library three times... > Is 'make world' something that must be done after every 'sup'? Or, it > is safe to 'sup' then do "make all" skipping the object removal part? I almost never do a `make world' unless I know some dramatic change has occurred which forces a bootstrap (like the upgrade from GCC 2.6.0 to 2.6.1). Instead, here's what I do: 1) Install any new /usr/src/include include files by hand. 2) Run beforeinstall targets for any likely-sounding directories. 3) Run `make depend' at the top level, and watch which dependencies get rebuilt. 4) Go to /usr/src/lib and /usr/src/secure/lib, and do a `make all' in both directories. ONLY INSTALL THE LIBRARIES THAT ACTUALLY GET REBUILT. (This part is important, because a `make install' at the /usr/src/lib level will cause crt0 to get reinstalled, thus forcing a re-link of the entire known universe.) 5) Go back to /usr/src and do a `make most'. This will do a single-pass rebuild of all the programs in the system. 6) If this succeeds, do a `make installmost'. This will install the programs, but not the libraries or /usr/src/share stuff. If all goes well, this should take less than two hours. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant