Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2001 18:15:02 -0500 (EST)
From:      Marc Evans <Marc@SoftwareHackery.Com>
To:        <freebsd-questions@freebsd.org>, Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
Subject:   Re: Trying to upgrade from v3 to v4
Message-ID:  <Pine.LNX.4.30.0101081807390.662-100000@SoftwareHackery.Com>
In-Reply-To: <Pine.BSF.4.10.10101090059090.56284-100000@comsys.ntu-kpi.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
According to the newvers.sh file, I have the version I expected:

	REVISION="4.2"
	BRANCH="STABLE"

According to the UPDATING file, the process and commands that I issued
appear to be proper:

        To update from 3.x to 4.x stable
        --------------------------------
        <see notes below>                               [3]
        cd /usr/src
        <see notes below>                               [2]
        make buildworld
        <follow directions to build/install a kernel>
	...

        [2] If you have any of the following in your /etc/make.conf,
        please comment them out before following these instructions
        and then do a make buildworld + make installworld after you
        are back to <multi-user> above:
                MAKE_KERBEROS4
        [3] Update to 4.x-stable sources.  Make sure that you get all
        the parts.  If you are using cvsup files that are older than a
        couple of months, be sure they have all the components listed
        in /usr/share/examples/cvsup.  Crypto and secure are now
        required.

Now then, according to the UPDATING file, this note claims that miniperl
is no longer used, yet that is what I am stopped by:

20001006:
        The perl build procedure no longer installs miniperl, nor uses
        the installed miniperl.  It is recommended that you delete
        /usr/bin/miniperl.

Any other suggestions?

Thanks in advance - Marc

On Tue, 9 Jan 2001, Andrey Simonenko wrote:

> You can check wich system you CVSuped if you look at file
> /usr/src/sys/conf/newvers.sh.
>
> Then if you really downloaded 4.x-STABLE, you should read file
> /usr/src/UPDATING. To upgrade FreeBSD from 3.x to 4.x version just typing
> `make buildworld' isn't enought. Complete and correct (something really
> doesn't work in my case, I made upgrade from 3.4-S to 4.1-S, but it can
> be easyly fixed) information is located in that file.
>
> On Mon, 8 Jan 2001, Marc Evans wrote:
>
> > Hello -
> >
> > I have an Intel system that I have used this cvsup file to pull over
> > sources:
> >
> > 	*default  host=cvsup8.FreeBSD.org
> > 	*default  base=/usr
> > 	*default  prefix=/usr
> > 	*default  release=cvs delete use-rel-suffix
> > 	*default  tag=RELENG_4
> > 	src-all
> >
> > The system identifies itself as 3.5-STABLE using the uname command.
> >
> > My goal is to upgrade from version 3 to version 4. Based on what I have
> > read on the web site and mailin list archives, I believe that this is
> > doable by "make buildworld ...". Well, when I attmept this, the sources
> > don't succeed in compiling:
> >
> > cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5
> > -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl   -c opmini.c
> > cc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5
> > -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl
> > -L/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl -static -o
> > miniperl miniperlmain.o opmini.o
> > /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a -lm
> > -lcrypt -lutil
> > /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a(pp_hot.o):
> > In function `Perl_pp_aassign':
> > pp_hot.o(.text+0x16a1): undefined reference to `setresuid'
> > pp_hot.o(.text+0x16d4): undefined reference to `setresgid'
> > *** Error code 1
> >
> > Stop.
> >
> > This appears to be fairly early in the overall build process. My questions
> > would include:
> >
> > 	- Is the cvsup file I am using the right one for getting the best
> > 	  compilable set of sources for a v4 upgrade?
> >
> > 	- Should I be expecting all of the sources to be able to compile?
> >
> > 	- Do you have suggestions on a better technique to upgrade?
> >
> > Thanks in advance - Marc
> >
> >
> >
> > 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?Pine.LNX.4.30.0101081807390.662-100000>