Openbsd-newbies Digest, Vol 24, Issue 13
Woodchuck
djv at bedford.net
Sat Aug 19 21:39:47 PDT 2006
On Thu, 17 Aug 2006, edgar mortiz wrote:
> I've pulled out src -stable via
>
> i have a folder /stuff/bsd
>
> cd /stuff/bsd
> export CVSROOT=anoncvs at anoncvs.example.org:/cvs
> cvs -d$CVSROOT checkout -rOPENBSD_3_9 -P src
This gets a version of the source, true. Once got, though, this
is an inefficient way of updating it.
>
> and when i build the kernel i did a
>
> config GENERIC
> make clean && make depend && make && make install
Correct, I agree.
> this one wen't well, as for building the binaries
went
>
> rm -rf /usr/obj/*
> cd /stuff/bsd/src
> make obj
> cd /stuff/bsd/src/etc && env DESTDIR=/ make distrib-dirs
> cd /stuff/bsd/src
> make build
>
> then after a couple of minutes it breaks =/
>
>
> anyways I'll double check the FAQ again thanks for the reply :)
>
> peace,
> -ed
Well, the first thing I'd say is read the manual.
that stuff shouldn't be under random directory /stuff/bsd/src
It should be under /usr/src I suspect that because of the rather
delicate nature of the process there are places that depend on that
as the root of the source tree. I've made the system many times since
version 2.x, almost always without the slightest problem. Like the
man said, "I do it regularly and see no harm in it."
Is your host operating system BSD, or are you attempting to cross-compile
the kernel and userland under some other OS, such as Linux?
Dave
More information about the Openbsd-newbies
mailing list