From owner-freebsd-stable@FreeBSD.ORG Fri Feb 3 11:22:49 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B050416A500 for ; Fri, 3 Feb 2006 11:22:49 +0000 (GMT) (envelope-from gunnar.flygt@sr.se) Received: from dart.sr.se (dart.SR.SE [134.25.0.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8F8E43D48 for ; Fri, 3 Feb 2006 11:22:48 +0000 (GMT) (envelope-from gunnar.flygt@sr.se) Received: from honken.sr.se (honken.sr.se [134.25.128.27]) by dart.sr.se (8.13.1/8.13.1) with ESMTP id k13BMlfJ058336; Fri, 3 Feb 2006 12:22:47 +0100 (CET) (envelope-from gunnar.flygt@sr.se) Received: from bsd-gf.sr.se (bsd-gf.SR.SE [134.25.200.100]) by honken.sr.se (8.13.3/8.13.3) with ESMTP id k13BMlPp041153; Fri, 3 Feb 2006 12:22:47 +0100 (CET) (envelope-from gunnar.flygt@sr.se) Received: from localhost (localhost [IPv6:::1]) by bsd-gf.sr.se (8.13.4/8.13.4) with ESMTP id k13BLjdG068977; Fri, 3 Feb 2006 12:22:47 +0100 (CET) (envelope-from gunnar.flygt@sr.se) From: Gunnar Flygt To: Bill Moran Message-ID: <20030312142025.GC58151@sr.se> References: <20030312170425.G17741@woozle.rinet.ru> <3E6F41FD.3000908@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E6F41FD.3000908@potentialtech.com> User-Agent: Mutt/1.4i Lines: 53 Cc: stable@freebsd.org, Dmitry Morozovsky Subject: Re: Upgrading sequence to 4.x from 3.3-R X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gunnar Flygt List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 03 Feb 2006 11:22:49 -0000 X-Original-Date: Wed, 12 Mar 2003 15:20:25 +0100 X-List-Received-Date: Fri, 03 Feb 2006 11:22:49 -0000 On Wed, Mar 12, 2003 at 09:19:41AM -0500, Bill Moran wrote: > Dmitry Morozovsky wrote: > >Dear colleagues, > > > >What is the correct way to upgrade FreeBSD from 3.3-R to 4.x? > > Wow ... that's a bit of a leap. I expect you're going to have > problems going that far easily. > > >using recommended (extended a bit) > > > >make -DNOCLEAN -DNOPERL -DNOPROFILE -DNOGAMES -DNOMAN buildworld > > > >I got > > > >===> doc > >c++ -O -pipe -I/ar/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > >-I/ar/src/gnu/usr.bin/gperf -c > >/ar/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc > >/ar/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc:80: warning: > >`catch', `throw', and `try' are all C++ reserved words > >/ar/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc: In function > >`void > >operator delete(void *)': > >/ar/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc:82: > >declaration of > >`operator delete(void *)' throws different exceptions... > >:82: ...from previous declaration here > >*** Error code 1 > > > >Currently I simply exclude gperf from bootstrap-tools from Makefile.inc, > >but it > >seems a bit hackish... > > I'm no expert on the source tree, but I would think that you might have an > easier > time of it if you backup up the system and reinstalled. > > If that seems terribly impractical, you might do better by stepping it. For > example: > 1) First upgrade to 3-STABLE. > 2) Then upgrade to an early 4.x, such as 4.2-RELEASE > 3) Then upgrade to 4-STABLE > > I do think you're going to have problems if you attempt the upgrade without > upgrading perl as well. perl is used in many parts of the system in 4.x, if > you don't upgrade it, you may not even be able to build 4.x, and if it does > build and install, you may find many utilities don't work. Wouldn't it be easier to do a binary upgrade? -- Gunnar Flygt, SR