DragonFly users List (threaded) for 2009-10
Re: you must buildworld before you buildkernel. why ?
On Mon, 12 Oct 2009, Robert Luciani wrote:
> > # make buildkernel KERNCONF=SYNERGY
> > You must buildworld before buildkernel. If you wish
> > to build a kernel using native tools, config it manually
> > or use the nativekernel target if you are in a rush
> > *** Error code 1
> The answer is staring you in the face:
> If you wish to build a custom kernel with native build tools (in other
> words the versions installed on your system as opposed to the versions
> in the source tree you've synced to) you can do it by using the
> nativekernel target.
> # make KERNCONF=SYNERGY nativekernel
Bob, thanks for pointing that out.
The line "You must buildworld before buildkernel ..." is
technically correct, but doesn't suggest what the user should do
if (s)he just has src-sys.tgz !
As i looked around (prior to your reply), the Handbook had a
section which mentioned,
When only the kernel source is installed, you need to change
step 2, above, to this:
# make nativekernel KERNCONF=MYKERNEL