LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 05-12-2007, 04:43 AM   #1
Mr_Shameless
Member
 
Registered: Aug 2006
Location: Asia
Distribution: Ubuntu
Posts: 59

Rep: Reputation: 15
FreeBSD 6.2, no /usr/src/tools and /usr/src/usr.bin, failed to build world.


I read the FreeBSD handbook for sections on rebuilding the "world".

#cd /usr/src
#make buildworld


The output was like this:
Code:
cd: can't cd to /usr/src/tools/build/make_check

--------------------------------------------------------------
>>> Building an up-to-date make(1)
--------------------------------------------------------------
cd: can't cd to /usr/src/usr.bin/make
*** Error code 2

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
I dont have the directories /usr/src/tools and /usr/src/usr.bin, as i think i should have. That's the problem, right?

This is the output when i listed my /usr/src directory:
Code:
COPYRIGHT               Makefile                README
LOCKS                   Makefile.inc1           UPDATING
MAINTAINERS             ObsoleteFiles.inc       sys
When installing FreeBSD, I chose a minimal system, and then later i installed what i needed from ports. When i recompiled the kernel for the first time, i didnt have the kernel source, and had to copy that from the CD (following the handbook's instructions). Now is it the same thing that I have to do? Where can I those absent files?

Thank you very much
 
Old 05-12-2007, 07:18 AM   #2
Mr_Shameless
Member
 
Registered: Aug 2006
Location: Asia
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
OMG they're on the CD. How silly i was, sorry sorry
 
Old 05-15-2008, 01:58 PM   #3
robert0478
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
explain how to do it

Hi everybody!

Please tell me how You solved this problem.
I have also take this on the CD.
Where can I find this?

For any help I graetly apriciate.


Best regard
Robert.

"OMG they're on the CD. How silly i was, sorry sorry"
 
Old 05-15-2008, 11:25 PM   #4
Mr_Shameless
Member
 
Registered: Aug 2006
Location: Asia
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
Hey there.

I don't use FreeBSD any more but as far as I remember, you insert the CD, then as root type some command like:
Code:
#sysinstall
, then choose to install sources from the cd. I'm not sure if what i remember is exact. You can do a search on google on how to "make buildworld".

This was FreeBSD 6.2
 
Old 05-16-2008, 08:43 AM   #5
robert0478
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
I have done.

Hi.

Thank You for help.

I use:
#sysinstall
then:
configure -> distribution -> src - All

and then was ok.

Best regards
Robert.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why build a kernel outside the traditional /usr/src area? ssenuta Linux - General 4 08-26-2006 11:32 AM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
rpmbuild doesn't produce the source code in /usr/src/redhat/BUILD Niceman2005 Linux - Software 2 11-29-2004 05:58 PM
/usr/src/??? iain.ross Linux - Software 5 08-24-2004 02:18 PM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM


All times are GMT -5. The time now is 01:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration