|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem on installing OpenBSD
Hi folks,
OpenBSD 4.0 amd64 This is a newly installed box. After running; $ cvs checkout -rOPENBSD_4_0 -P ports and $ cvs checkout -rOPENBSD_4_0 -P src as user Then ran; $ cd /usr/src/sys/arch/i386/conf && \ $ config GENERIC && \ $ cd ../compile/GENERIC && \ $ make clean && make depend && make && \ $ make install && reboot All went through w/o complaint with the box rebooted finally. As root # cd /usr/ # rm -r /usr/obj/* && \ > make obj && make build && \ > reboot Code:
rm: /usr/obj/*: No such file or directory # ls -al /usr/obj/ Code:
total 8 drwxrwxr-x 2 root wsrc 512 Sep 17 2006 . drwxr-xr-x 17 root wheel 512 Apr 11 19:05 .. No data inside Again; # make obj && make build && \ > reboot `obj' is up to date. make: don't know how to make build. Stop in /usr. * end * # find / -name obj -type d Code:
/usr/obj Pls advise. TIA Furthermore, what will be the difference between; $ cvs check -rOPENBSD_4_0 -Pd src and $ cvs up -rOPENBSD_4_0 -Pd src check vs up B.R. satimis |
|
#2
|
||||
|
||||
|
Quote:
Here's your first mistake. You've installed an amd64 platform OS. Now you've compiled and installed kernel for 386 (32 bit) instead of 64 bit. To be sure, you should modify your compile procedure so that you do this: cd /usr/src/sys/arch/`machine`/conf This will go to the correct architecture, no matter where OpenBSD is installed. Next, you aren't in the correct dirs when you're running make build. Here's how you should do it: Code:
# rm -rf /usr/obj/* # cd /usr/src # make obj Next, make sure all the dirs are created # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs and then build the system # cd /usr/src # make build As for cvs checkout vs. cvs up, you'll need to run cvs checkout to checkout a complete initial copy of the branch on to your hard disk. Later on, you can upgrade by running cvs up, which will only fetch the differences. If you run cvs checkout again, you're again checking out a full copy of everything, rather than just the differences.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month |
|
#3
|
||||
|
||||
|
Hi Scorpions4ever,
Tks for your advice. I have already solved my 1st mistake. I was held on the latter sometimes. Quote:
Performed following steps; # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs It went through w/o complaint. # rm -rf /usr/obj/* # cd /usr/src # make obj && make build Code:
........ ===> kerberosV/doc /usr/bin/install-info /usr/src/kerberosV/doc/obj/heimdal.info /usr/share/info/dir /usr/bin/install -c -m 444 -o root -g bin -p /usr/src/kerberosV/doc/obj/heimdal.info /usr/share/info cd /usr/src/share/man && exec make makedb /usr/libexec/makewhatis /usr/share/man It also went through w/o complaint BUT taking lengthy time to finish. Quote:
Advice noted with tks. Each time on running "cvs update", it updates everything not just the different taking prolonged time to complete. Is there another way? TIA B.R. satimis |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Problem on installing OpenBSD |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|