Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 1998 13:37:26 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>, Matthew Patton <patton@sysnet.net>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: building world
Message-ID:  <19980708133726.17075@follo.net>
In-Reply-To: <4648.899893623@time.cdrom.com>; from Jordan K. Hubbard on Wed, Jul 08, 1998 at 03:27:03AM -0700
References:  <l0311070eb1c7243fc186@[192.168.1.10]> <4648.899893623@time.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980708133726.17075>