DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default buildworld questions.

I want to build my FreeBSD 7 from sources....
I wanna know which distributions do i need under src?
What i mean is when installing distributions i sellect src and under that, there are some crap that i don't need, like games....
My question is what do i need to build FreeBSD from minimal sources....


as far as i see i need
BASE
sys
sbin
bin
man < might skip, but it's way better when you can take a look at help
share
maybe some more...

Also should i update my source tree with CSUP?
if so what would be recomended tags etc, if i want to stay on as much stable as possible (i think i need RELENG_7 or RENENG_7_0, again, i don't rememeber exact name, and have no time to google atm..., these to got me confused when i was reading handbook)

P.S. I'm writing this from memory on windows system....


Thanks in advance, i hope you understand what i want to know.
Reply With Quote
  #2   (View Single Post)  
Old 15th July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,062
Thanked 198 Times in 156 Posts
Default

You will need all of them for a buildworld.

STABLE is RELENG_7
7.0 RELEASE is RELENG_7_0

Quote:
Also should i update my source tree with CSUP?
Yes
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 15th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

/sr/src/README gives an overview of what is in each although most of that is obvious.

in regards to the contents of /usr/src:

you need cddl for zfs
you need crypto and secure for open ssh/ssl -> crypto = source, secure/* = makefiles
you need bin -> this is code for /bin/*
you need sbin -> this is code for /sbin/*
you need usr.bin -> this is code for /usr/bin/*
you need usr.sbin -> this is code for /usr/sbin/*
you might want kerboos5
you want etc
you want share
you want include
you need libexec
you need lib


If you want a fully functional system you want contrib and gnu

gnu code should generally be in contrib but makefiles and extras in gnu/*.


best reasons to have contrib:

bc, bind, bzip2, cpio, cvs, diff, file, gcc, gdb, gperf, groff -> man page formatter!, less -> pager more and less, libstdc++ -> (gnu) standard C++ library, lukemftp/lukemftpd -> ftp client and server, ncurses -> needed for console TUI, netcat, (n)vi, (one true)awk, pam, pf, sendmail, tcsh, top, traceroute, wpa_supplicant.


Generally speaking, it's just easier to grab the whole tree +/- games unless you have a specific objective in mind like building a system that will only be used to do foo but never bar without change.


You should also look into the build system if you need to do that.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #4   (View Single Post)  
Old 15th July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,062
Thanked 198 Times in 156 Posts
Default

Quote:
Generally speaking, it's just easier to grab the whole tree +/- games
What games? The BSD games got removed from FreeBSD base in the 5 release and moved to games/freebsd-games.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 15th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

i still see game sources on my FreeBSD CD
Also a package called games is available


Anyway, i think i found a way to avoid games
Reply With Quote
  #6   (View Single Post)  
Old 15th July 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Thanked 20 Times in 18 Posts
Default

Quote:
Originally Posted by killasmurf View Post
i still see game sources on my FreeBSD CD
Also a package called games is available


Anyway, i think i found a way to avoid games
Noooo, game under FreeBSD is gooood.

Have you heard about "fortune"? Try it if you havent
Reply With Quote
  #7   (View Single Post)  
Old 15th July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,062
Thanked 198 Times in 156 Posts
Default

Those are not games, they are just some utilities which are in the directory games for historical reasons.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #8   (View Single Post)  
Old 15th July 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Thanked 20 Times in 18 Posts
Default

Thats why I said "game under FreeBSD"
Reply With Quote
  #9   (View Single Post)  
Old 15th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

I guess that explains why the stuff in /usr/games is so much more boring then on OpenBSD 4.0.... hehehe
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 15th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

i will configure my make.conf
does anyone know how to get info if i have to set
pentium4 pentium4m or presscot for CPUTYPE?
How to check which one i'm running.....
I know it's Pentium 4 presscot, because it's heating very much.... but does that means i can use presscot for compilation?
I know pentium4 is safe choise
Reply With Quote
Old 15th July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,062
Thanked 198 Times in 156 Posts
Default

With gcc 4 (i.e. FreeBSD 7) you can just use -march=auto
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Tags
buildworld

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buildworld error terryd FreeBSD Installation and Upgrading 2 1st February 2009 11:05 AM
freebsd 7.1 upgrade buildworld error map7 FreeBSD Installation and Upgrading 9 30th October 2008 06:54 PM
buildworld Fails at Exact Same Spot ninjatux FreeBSD Installation and Upgrading 12 18th June 2008 03:46 PM
how to buildworld ? bsdnewbie999 FreeBSD General 2 17th May 2008 10:11 AM
Buildworld make.conf options siffland FreeBSD Installation and Upgrading 4 12th May 2008 12:02 AM


All times are GMT. The time now is 04:52 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick