From owner-freebsd-questions Wed Jan 17 5:56:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 957F537B401 for ; Wed, 17 Jan 2001 05:56:38 -0800 (PST) Received: (qmail 6081 invoked by uid 100); 17 Jan 2001 13:56:38 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14949.42133.952355.929296@guru.mired.org> Date: Wed, 17 Jan 2001 07:56:37 -0600 (CST) To: Ertan Kucukoglu Cc: questions@freebsd.org Subject: Re: differences between (buildworld installworld) and (world) In-Reply-To: <4141336@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ertan Kucukoglu types: > Hello, > > Recently I upgraded my 4.0-RELEASE machine to 4.2-STABLE. First, I did "make > - -j4 buildworld". Then after it finished without error, I did "make -j4 > installworld". After sometime I got error message that says "I cannot find > file ...." > > I choose that way because "make world" installs the system just after > compilation and, I was not sure that my system will compile error proof. > > I thought a little and tried "make world". It finished without any errors. I > upgraded my system, but why I got error with "make buildworld installworld" > and did not with "make world"? > > Is there any differences? I used same parameters for both buildworld and > installworld as mentioned in the handbook. There is only one difference for normal usage: "make world" does the installworld make with parallel builds (what you caused with "-j 4") disabled. That's because the installworld target - as you just discovered - doesn't work with parallel builds. So you should do "make -j 4 buildworld" and "make installworld" if you want to do it in two parts. Of course, if the only reason you're doing that is because you're worried about the build not working - don't bother; make is smart enough not to do the installworld if the buildworld fails. To pick nits, "make world" will build and use a current make on very old (pre 2.2.5) systems, and has hooks to do things pre buildworld and post installworld. None of which will matter during normal usage. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message