I've just installed OpenBSD 3.4, and downloaded source code (I guess) via anonCVS. When I try to compile and install (I guess) the new source code, I get an error:
make: Don't know hot to make clean. Stop in /usr/src/sys/arch/i386/conf.
Here's the sequence of commands I went issued:
# setenv CVSROOT
anoncvs@anoncvs1.ca.openbsd.org:/cvs
# cd /usr
# cvs -q get -rOPENBSD_3_4 -P src
# cd /usr/src/sys/arch/i386/conf
# /usr/sbin/config GENERIC
# cd /usr/src/sys/arch/i386/compile/GENERIC <--ooopppsss!
# make clean && make depend && make
At this point, having left out the line indicated above as "ooopppsss!", I got the error:
make: Don't know how to make clean.
I just wanted to point that out for the benefit of anyone else who may have encountered that.
So, I ran it again from the "cd" line above the "config GENERIC" command line, and I got an error message, with a big mess of cryptic stuff above the error message, which ends with:
(bunch of junk)../../../kern/genassym.sh[172]: cc: not found
*** Error code 1
"Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 650 of Makefile)."
Since I ran the command as "make clean && make depend && make", I had no idea which command failed. So, I went back and ran "make clean". So far, so good. That one runs. Then I ran "make depend". That's the culprit. I get the same error code.
So, I tried CVS again:
# cd /usr/src
# cvs -d $CVSROOT -q up -Pd
# cd /usr/src/sys/arch/i386/conf
# /usr/sbin/config GENERIC
# cd /usr/src/sys/arch/i386/compile/GENERIC
# make clean && make depend && make
and I get the same error.
This is a new, clean install of a basic OpenBSD 3.4 system with no GUI, and very few extras, so I really don't think this should be happening.
Can anyone help me diagnose this, or point me to comprehensible resources that I can use to figure this out and fix it?
Thanks!