LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   FreeBSD 6.2, no /usr/src/tools and /usr/src/usr.bin, failed to build world. (https://www.linuxquestions.org/questions/%2Absd-17/freebsd-6-2-no-usr-src-tools-and-usr-src-usr-bin-failed-to-build-world-553335/)

Mr_Shameless 05-12-2007 04:43 AM

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

Mr_Shameless 05-12-2007 07:18 AM

OMG they're on the CD. How silly i was, sorry sorry :D

robert0478 05-15-2008 01:58 PM

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"

Mr_Shameless 05-15-2008 11:25 PM

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

robert0478 05-16-2008 08:43 AM

I have done.
 
Hi.

Thank You for help.

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

and then was ok.

Best regards
Robert.


All times are GMT -5. The time now is 02:07 AM.