Subject: Re: Upgrading from 1.4 using patches
To: Ian P. Thomas <ipthomas_77@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 12/09/2001 18:15:44
On Fri, Dec 07, 2001 at 06:32:27PM -0500, Ian P. Thomas wrote:
> 	I went ahead and wiped the sources and reinstalled them from my 1.4
> cdrom.  I then installed the appropriate diff's in order:
> 
> diff-1.4-to-1.4.1 
> diff-1.4.1-to-1.4.2
> diff-1.4.2-to-1.4.3
> 
> 	The same yacc error occurs.  This time, however, there is no .rej file
> for /usr/src/dist/bind/bin/named/yp_parser.y.  I am running a 1.4.3 kernel
> that installed fine from sources, but having my userland out of sync is
> probably not a good thing (although I've been told that newer kernels can
> run older binaries).  Should I try and do a binary upgrade to 1.4.3?  If
> so, what is the best way to do this?  I have heard mention of a way to
> upgrde from the installer.  This is not a problem, as I have a bootable
> cdrom.  

This is really strange. It's possible that you need to upgrade your toolchain
first, then. Did you try reinstalling lex & yacc before the make build ?
Also try to nuke the include files in /usr/include and run 'make includes'
from the top of the source tree.

To do a binary upgrade, as you're already running a 1.4.3 kernel,
I would be manually unpack the binary sets.
grab the 1.4.3 binary sets (base and comp should be enouth if you're planning
to rerun a 'make build' after) and then:
cd /
rm -rf /usr/include (to make sure you won't have old
zcat /tmp/base.tgz |tar xpf -
zcat /tmp/comp.tgz |tar xpf -

--
Manuel Bouyer <bouyer@antioche.eu.org>
--