Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2001 09:41:49 -0700
From:      "Scott Reese" <sreese@codysbooks.com>
To:        "Klaus Steden" <klaus@compt.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: problems upgrading 3.5-STABLE to 4.x
Message-ID:  <00b701c120f2$2fd9ec70$1800a8c0@borges>
References:  <20010808232726.P95706@cthulu.compt.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00b701c120f2$2fd9ec70$1800a8c0>