From owner-freebsd-current Wed Jul 8 04:37:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA10874 for freebsd-current-outgoing; Wed, 8 Jul 1998 04:37:42 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA10863 for ; Wed, 8 Jul 1998 04:37:35 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id LAA20705; Wed, 8 Jul 1998 11:37:32 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id NAA04786; Wed, 8 Jul 1998 13:37:27 +0200 (MET DST) Message-ID: <19980708133726.17075@follo.net> Date: Wed, 8 Jul 1998 13:37:26 +0200 From: Eivind Eklund To: "Jordan K. Hubbard" , Matthew Patton Cc: freebsd-current@FreeBSD.ORG Subject: Re: building world References: <4648.899893623@time.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <4648.899893623@time.cdrom.com>; from Jordan K. Hubbard on Wed, Jul 08, 1998 at 03:27:03AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jul 08, 1998 at 03:27:03AM -0700, Jordan K. Hubbard wrote: > > I'm sorry to have to drop this on the mailing list readership... > > > > I downloaded 2.2.6-release. acquired cvsup, and grabbed the whole source > > tree, or at least what corresponds to src-all. Tried a make "buildworld" > > and the top level make file blew up all over the place. Parse errors due to > > environment variables like MACHINE_ARCH or BINFORMAT not being defined. I > > Yep. Transitioning all the way from 2.2.6 to 3.0 using just /usr/src > is a fairly difficult proposition unless you're expert qualified with > berkeley make and the FreeBSD source tree in general. > > My recommendation, and the way I did this just a short time ago on > another box as a sort of demo, is to extract the bindist from a > 3.0-snap on top of your existing 2.2.x system and then make the world, > a new kernel, reboot. Worked for me. In case you want to be more certain that that gun isn't pointing at your foot: Do the extraction in a chroot()ed tree, and run 'make buildworld' et al inside that, then do a full install. Still not perfect, but it at least allow you to verify that the world builds before you start your upgrade. Be aware that the 3.0 mount is not compatible with the 2.2.6 kernel, so you might want to update your kernel first (but remember to config the kernel with your new config...) Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message