From owner-freebsd-questions Wed Jan 17 6:49:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ozlerplastik.com (unknown [212.253.27.79]) by hub.freebsd.org (Postfix) with ESMTP id 2FC5A37B401 for ; Wed, 17 Jan 2001 06:49:09 -0800 (PST) Received: (from root@localhost) by ozlerplastik.com (8.11.1/8.11.1) id f0HEmj278226 for questions@freebsd.org.AVP; Wed, 17 Jan 2001 16:48:45 +0200 (EET) (envelope-from ertank@ozlerplastik.com) Received: from ozlerplastik.com (ertan [192.168.0.20]) by ozlerplastik.com (8.11.1/8.11.1) with ESMTP id f0HEmeA78204; Wed, 17 Jan 2001 16:48:42 +0200 (EET) (envelope-from ertank@ozlerplastik.com) Message-ID: <3A65AFC2.C311BDC8@ozlerplastik.com> Date: Wed, 17 Jan 2001 16:44:18 +0200 From: Ertan Kucukoglu Organization: =?iso-8859-9?Q?=D6zler?= Plastik San. ve Tic. A.S. X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: tr,en MIME-Version: 1.0 To: Mike Meyer Cc: questions@freebsd.org Subject: Re: differences between (buildworld installworld) and (world) References: <14949.42133.952355.929296@guru.mired.org> Content-Type: text/plain; charset=iso-8859-9 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Meyer wrote: > > 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, this is the problem. Do not run installworld with parallel build option. :) > > 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. Exactly, I managed to upgrade with that way. And, after now I will only use "make world" (of course until it changes into another command :) > > 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. > Thank you for your reply. > -- > Mike Meyer http://www.mired.org/home/mwm/ > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. Regards, -- Ertan Kucukoglu ertank@ozlerplastik.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message