BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 13th, 2007, 04:36 AM
satimis satimis is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 490 satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 12 h 37 m 38 sec
Reputation Power: 9
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

Reply With Quote
  #2  
Old April 16th, 2007, 02:20 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,508 Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level)Scorpions4ever User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 16 m 59 sec
Reputation Power: 865
Quote:
Originally Posted by satimis
Then ran;
$ cd /usr/src/sys/arch/i386/conf && \
$ config GENERIC && \
$ cd ../compile/GENERIC && \
$ make clean && make depend && make && \
$ make install && reboot

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

Reply With Quote
  #3  
Old April 23rd, 2007, 07:53 AM
satimis satimis is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 490 satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level)satimis User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 12 h 37 m 38 sec
Reputation Power: 9
Hi Scorpions4ever,

Tks for your advice.


I have already solved my 1st mistake. I was held on the latter sometimes.

Quote:
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

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:
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.

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

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Problem on installing OpenBSD


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway