On Sat, 14 Mar 2009 14:04:47 +0200
[email protected] wrote:
> > Read http://www.openbsd.org/cvsup.html[1] and start again.
> > Don't forget to clean up your /usr.
> >
> > In short: You got yourself a copy of the cvs tree and you need to
> > check out the source from that. Using /usr as base/prefix was
> > wrong.
> >
> > And on the perl issue... By updating to the snapshot you got
> > yourself the new perl installed.
> >
> > - Robert
> >
> >
> >
> Thank you Robert for your answer , yes, i have new perl installed
> via snapshot, but i was trying to get the latest src and to compile
> the kernel just for the test, buth i have no idea about these errors.
> I read the link about cvsup and i think that my file is right ,
> because my source is under /usr/src where it should be, and i was
> wondering about version tag, but i read when the tag is missing i get
> the current src and that is my idea. I just trying to keep updated my
> current snapshot
Read the mentioned doc again. Also have a look at the FAQ.
What you loaded with cvsup is _not_ a source tree you can put
into /usr/src and compile stuff from.
What you have is the cvs tree with changelog etc.
You are only half way there. And using {prefix,base}=/usr doesnt allow
you to go any further.
1.)
Clean up your cvsup.config error and the fallout:
change your cvsup config to {prefix,base}=/cvs instead of /usr.
# sudo mkdir -p /cvs/src
# sudo mv /usr/src/* /cvs/src/
# sudo mv /usr/CVSROOT /cvs/
2.)
# cd /usr && sudo opencvs -qd/cvs get -P src
That would give you a sourcetree you can compile the kernel from.
This is just the same stuff that is on the mentioned page!
Don't stop reading halfway through.
3.)
Read the docs if you want to know how to update in the future.
Perhaps http://www.openbsd.org/anoncvs.html might help you understand
the issue. That page shows how to get a source checkout without the
"intermediate" step of mirroring the cvs tree locally.
- Robert