Date: Mon, 24 Mar 2003 16:04:40 -0600 From: Josh Paetzel <friar_josh@webwarrior.net> To: Lew A <question@gwi.net> Cc: freebsd-stable@freebsd.org Subject: Re: Upgrading from 4.5 to 4.7 problems. Message-ID: <20030324220440.GD716@ns1.webwarrior.net> In-Reply-To: <Pine.BSI.4.50.0303241643071.5706-100000@dargo.gwi.net> References: <Pine.BSI.4.50.0303241643071.5706-100000@dargo.gwi.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 24, 2003 at 04:53:49PM -0500, Lew A wrote: > Hello, > > I've been running into a couple pathing problems during my installworld > while upgrading from 4.5p23 to 4.7. > > Here are all the problems I've had during the installworld, total of : > (Below is a list of the steps I took to do the upgrade) > > ;==> include/rpcsvc > rpcgen -C -h -DWANT_NFS3 /usr/src/include/rpcsvc/sm_inter.x -o sm_inter.h > rpcgen:No such file or directory > *** Error code 1 > > Stop in /usr/src/include/rpcsvc. > *** Error code 1 > > Stop in /usr/src/include. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > fixed, added /usr/bin/ in front of rpcgen, in include/rpcsvc/Makefile > > ---------- > > ===> games/fortune/datfiles > tr a-zA-Z n-za-mN-ZA-M < /usr/src/games/fortune/datfiles/fortunes-o.real > > fortunes-o > tr: not found > *** Error code 127 > > Stop in /usr/src/games/fortune/datfiles. > *** Error code 1 > > Stop in /usr/src/games/fortune. > *** Error code 1 > > Stop in /usr/src/games. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > fixed, added /usr/bin/ in front of tr, in > games/fortune/datfiles/Makefile > > ---------- > > ===> share/termcap > TERM=dumb TERMCAP=dumb: ex - /usr/src/share/termcap/termcap.src < > /usr/src/share/termcap/reorder > ex: not found > *** Error code 127 > > Stop in /usr/src/share/termcap. > *** Error code 1 > > Stop in /usr/src/share. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > fixed, added /usr/bin/ in front of ex, in share/termcap/Makefile > > ---------- > > ===> share/termcap > TERM=dumb TERMCAP=dumb: /usr/bin/ex - /usr/src/share/termcap/termcap.src < > /usr/src/share/termcap/reorder > cap_mkdb termcap > cap_mkdb:No such file or directory > *** Error code 1 > > Stop in /usr/src/share/termcap. > *** Error code 1 > > Stop in /usr/src/share. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > fixed, added /usr/bin/ in front of cap_mkdb, in share/termcap/Makefile > > --------------------------------------------------------------------------- > > These are the steps I use when doing the upgrade: > cd /usr/local/etc/cvsup > vi stable-supfile > change *default release=cvs tag=RELENG_4_5 > to *default release=cvs tag=RELENG_4_7 > cd /usr/src > make update > /usr/src/usr.sbin/mergemaster/mergemaster.sh -p > reboot into single usermode > mount -a > cd /usr/obj > chflags -R noschg * > rm -rf * > chflags noschg /bin /usr/bin /sbin /usr/sbin > cd /usr/src > make -j4 buildworld > make buildkernel > make installkernel > > reboot into single usermode > /sbin/mount -a > cd /usr/src > make installworld > su -l root > mergemaster > chflags schg /bin /usr/bin /sbin /usr/sbin > > reboot > test > > Thank you, > Lew A > GWI Operations > I've had problems with make buildworld bombing out on me using -j4 as a switch. It's always worked for me to rm -rf /usr/obj and restart the build using just plain make buildworld. Josh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030324220440.GD716>