[1286] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: compiling current

daemon@ATHENA.MIT.EDU (Nathan J. Williams)
Tue Sep 1 12:37:26 1998

To: Edwin Foo <efoo@MIT.EDU>
Cc: netbsd-help@MIT.EDU
From: "Nathan J. Williams" <nathanw@MIT.EDU>
In-Reply-To: Your message of "Tue, 01 Sep 1998 09:46:33 EDT."
             <199809011346.JAA19035@eleos.mit.edu> 
Date: Tue, 01 Sep 1998 12:37:11 EDT

> Is there a recommended procedure for updating a stock 1.3.2 x86 machine to
> netbsd-current? I've been through the docs on www.netbsd.org and can only
> find instructions on compiling a kernel. From examining the top-level
> makefile under /usr/src I'm guessing that the big "make everything" command
> is make build, but I'm not sure. Is that correct?

	Hi. Boostrapping to -current becomes more difficult as it
progresses, as many of the tools used to build NetBSD are themselves
under development. Here's the procedure that I recommend to minimize
bootstrapping pain:

	- Get -current sources and build a new kernel.
	- Boot with that kernel and make sure it works
	   (note that you will likely need a new AFS module for
	    the -current kernel; look in /mit/netbsd/afs for AFS
	    modules built for post-release kernels).
	- Get the latest binary snapshot from ftp.netbsd.org and
	  install everything *except* the kernel.
	- Run "make build" at the top of your source tree.

	Note that NetBSD-current is a moving target, and may not build
on a given day, or may not work very well. If you are running and
tracking -current, you should follow the current-users@netbsd.org
mailing list (You can subscribe by sending mail to
majordomo@netbsd.org; there is also a local archive in Discuss at
technomage:/usr/spool/discuss/netbsd-cur). 

> 
> Also, what is compile_et? When I try typing "make build" it gets so far as
> to go through the includes:

	compile_et is a tool for building error tables. You should
have it in /usr/athena/bin and /usr/bin.

	- Nathan





home help back first fref pref prev next nref lref last post