*BSD News Article 12435


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uunet!pipex!sunic!ugle.unit.no!ugle.unit.no!he
From: Havard.Eidnes@runit.sintef.no
Subject: Re: Problems with new patches espec. patch00089
Message-ID: <1993Mar9.095251.28450@ugle.unit.no>
Originator: he@ugle.unit.no
Sender: news@ugle.unit.no (NetNews Administrator)
Organization: University of Trondheim, Norway
References: <sturges-030393120454@humble.lds-az.loral.com> <C3Kquz.Bxv@cosy.sbg.ac.at> <1993Mar8.211046.2540@coe.montana.edu>
Date: Tue, 9 Mar 93 09:52:51 GMT
Lines: 28

In article <1993Mar8.211046.2540@coe.montana.edu> nate@cs.montana.edu (Nate Williams) writes:
>
>You have to recompile EVERYTHING that has changed when you apply
>the patchkit.  The current patchkit doesn't make that obvious,
>but it still needs to be done.

If you don't know what has changed (blindly applied the patches, like I
did... :-), it's safest to recompile everything.  To do this, I still had
to do a couple of things to be able to do "cd /usr/src; make":

 - first, recompile and install config, then compile, install and boot a 
   new kernel.  The patched kernel is much more stable than the unpatched
   0.1 kernel, and you'll need stability to recompile all of /usr/src.

 - cd /usr/src/include; make install.  (Do this rather than manually patching
   in /usr/include, as I previously erroneously suggested.)

 - since I didn't have room for the etc01 distribution on my disk, I had
   to "mkdir -p /usr/obj/contrib/elvis-1.5".

 - For some reason, /usr/include/vm was empty on my machine, and this stops
   gdb from compiling.  I'm not entirely sure whether that's my fault.  
   I just did "cd /usr/include/vm; ln -s /usr/src/sys.386bsd/vm/*.h .".

After this, it's just to "cd /usr/src; make" and sit back for a couple of
hours (or more)... (took about 2 hours on my system, which is a 50MHz 486).

- Havard