From owner-freebsd-questions Thu Aug 9 9:37: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from transbay.net (dns1.transbay.net [209.133.53.2]) by hub.freebsd.org (Postfix) with ESMTP id 28AB237B401 for ; Thu, 9 Aug 2001 09:37:03 -0700 (PDT) (envelope-from sreese@codysbooks.com) Received: from borges (stalwart.codysbooks.com [209.133.54.175]) by transbay.net (8.11.2/8.11.2) with SMTP id f79Gari05673; Thu, 9 Aug 2001 09:36:53 -0700 (PDT) Message-ID: <00b701c120f2$2fd9ec70$1800a8c0@borges> From: "Scott Reese" To: "Klaus Steden" , References: <20010808232726.P95706@cthulu.compt.com> Subject: Re: problems upgrading 3.5-STABLE to 4.x Date: Thu, 9 Aug 2001 09:41:49 -0700 Organization: Cody's Books MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Klaus, I just went through this a couple of days ago myself. I found that the best way to go is to do the upgrade in increments (I was upgrading from 3.2). After much trial and error, I finally found a way that works. I went from 3.2-RELEASE => 3.5-STABLE => 4.1-RELEASE=> 4.3-RELEASE. I tried going directliy from 3.2 to 4.3, but to no avail. I tried going from 3.2 to 4.0...again, no luck....I went from 3.5 to 4.1 instead of 4.0 because upgrading to 4.0 resulted in build errors. Quite a tricky business upgrading from the 3.x branch. Anyway, I hope this helps somewhat. -Scott Klaus Steden wrote: > Help! > > I'm not sure where to begin ... I've possibly mangled a few things in the > meantime, but I'm having a devil of a time upgrading from 3.5-STABLE to 4.x > > Currently, I've cvsup'd the most recent 4.2 source tree (I liked 4.2 that > much, I guess). > > If I cd into /usr/src, and try a 'make buildworld', I get this ... > > -- cut -- > > c++ -I/usr/obj/usr/src/i386/usr/include/g++ -O -pipe > -I/usr/obj/usr/src/i386/usr/include > -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf -c > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc:80: warning: > `catch', `throw', and `try' are all C++ reserved words > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc: In function > `void operator delete(void *)': > /usr/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 > > Stop. > > [you know the rest] > > -- cut -- > > What am I doing wrong? More importantly ... what do I do to upgrade from > 3.5-STABLE to 4.x? I'm following the instructions in /usr/src/UPGRADING but > they don't account for these kinds of problems. > > Any assistance would be immensely appreciated. > > thanks,, > Klaus > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message