system source tree --SOLVED--

Questions about the installation of FreeBSD

system source tree --SOLVED--

Postby A-dog » Fri Dec 13, 2013 4:15 am

I've just installed GhostBSD and now I want to install the nvidia drivers but it tells me that I need the system source tree. I've tried using sysinstall to no avail and there was something on sourceforge about using subversion but nothing is working. Please help, I only have vesa working now.
Last edited by A-dog on Sat Dec 14, 2013 7:08 pm, edited 1 time in total.
A-dog
 
Posts: 17
Joined: Fri Dec 13, 2013 4:09 am

system source tree --SOLVED--

 

Re: system source tree

Postby adripillo12 » Fri Dec 13, 2013 12:24 pm

A-dog wrote:I've just installed GhostBSD and now I want to install the nvidia drivers but it tells me that I need the system source tree. I've tried using sysinstall to no avail and there was something on sourceforge about using subversion but nothing is working. Please help, I only have vesa working now.


It usually starts with nvidia cards but you can open a console and make:

Code: Select all
# portsnap fetch update
# cd /usr/ports/x11/nvidia-driver
# make install clean


Then you need to download and install Xorg.
adripillo12
 
Posts: 49
Joined: Wed Sep 25, 2013 10:04 am

Re: system source tree

Postby A-dog » Fri Dec 13, 2013 3:38 pm

adripillo12 wrote:
A-dog wrote:I've just installed GhostBSD and now I want to install the nvidia drivers but it tells me that I need the system source tree. I've tried using sysinstall to no avail and there was something on sourceforge about using subversion but nothing is working. Please help, I only have vesa working now.


It usually starts with nvidia cards but you can open a console and make:

Code: Select all
# portsnap fetch update
# cd /usr/ports/x11/nvidia-driver
# make install clean


Then you need to download and install Xorg.



I tried that already
this is what I'm looking

Code: Select all
root@Russ-BSD /u/p/x/nvidia-driver# make MAKE_JOBS_UNSAFE=yes install clean
===>  Building for nvidia-driver-319.32
===> src (all)
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
*** [all] Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-319.32.
*** [do-build] Error code 1

Stop in /usr/ports/x11/nvidia-driver.
*** [install] Error code 1

Stop in /usr/ports/x11/nvidia-driver.



I've tried using sysinstall, Configure, Distribution, [src], [sys] - and then from CD/DVD with no luck

It looks like I need source code to build the nvidia driver

What to do now?
A-dog
 
Posts: 17
Joined: Fri Dec 13, 2013 4:09 am

Re: system source tree

Postby adripillo12 » Fri Dec 13, 2013 3:58 pm

A-dog wrote:
adripillo12 wrote:
A-dog wrote:I've just installed GhostBSD and now I want to install the nvidia drivers but it tells me that I need the system source tree. I've tried using sysinstall to no avail and there was something on sourceforge about using subversion but nothing is working. Please help, I only have vesa working now.


It usually starts with nvidia cards but you can open a console and make:

Code: Select all
# portsnap fetch update
# cd /usr/ports/x11/nvidia-driver
# make install clean


Then you need to download and install Xorg.



I tried that already
this is what I'm looking

Code: Select all
root@Russ-BSD /u/p/x/nvidia-driver# make MAKE_JOBS_UNSAFE=yes install clean
===>  Building for nvidia-driver-319.32
===> src (all)
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
*** [all] Error code 1

Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-319.32.
*** [do-build] Error code 1

Stop in /usr/ports/x11/nvidia-driver.
*** [install] Error code 1

Stop in /usr/ports/x11/nvidia-driver.



I've tried using sysinstall, Configure, Distribution, [src], [sys] - and then from CD/DVD with no luck

It looks like I need source code to build the nvidia driver

What to do now?


Its is weird, since I have it running on a computer with nvidia card. But take a look at this

http://www.freebsd.org/doc/en_US.ISO885 ... lding.html
adripillo12
 
Posts: 49
Joined: Wed Sep 25, 2013 10:04 am

Re: system source tree

Postby ericbsd » Fri Dec 13, 2013 4:47 pm

To install nvidia-drivers from ports you need src.
Do
Code: Select all
pkg_add -rf nvidia-drivers
ericbsd
Site Admin
 
Posts: 253
Joined: Mon Nov 19, 2012 11:54 pm

Re: system source tree

Postby A-dog » Fri Dec 13, 2013 6:56 pm

ericbsd wrote:To install nvidia-drivers from ports you need src.
Do
Code: Select all
pkg_add -rf nvidia-drivers


/usr/src may be the problem. I seem to have [sys] directories inside each other in /usr/src/sys/sys/sys .... and they go on forever. Should I reinstall GhostBSD and try again or is there a way to fix the directory corruption.
A-dog
 
Posts: 17
Joined: Fri Dec 13, 2013 4:09 am

Re: system source tree

Postby ericbsd » Sat Dec 14, 2013 1:01 am

This might be a bug.
ericbsd
Site Admin
 
Posts: 253
Joined: Mon Nov 19, 2012 11:54 pm

Re: system source tree

Postby A-dog » Sat Dec 14, 2013 3:50 am

I've reinstalled it and it's not doing it this time. I'm following http://sourceforge.net/p/ghostbsdprojec ... ee/3.5-RC/ instructions this time. Should this work better?

May not be a bug in the os, it may be a bug in my motherboard. I switched to BSD from debian linux because of a conflict with the linux kernel and the MB bios. I bought a Z77 MSI MPOWER uefi MB and it doesn't play well.

this code seems to be working
Code: Select all
 svn checkout svn://svn.freebsd.org/base/releng/9.2/ /usr/src


I should get a source code tree. Maybe?
A-dog
 
Posts: 17
Joined: Fri Dec 13, 2013 4:09 am

Re: system source tree

Postby ericbsd » Sat Dec 14, 2013 11:22 am

ericbsd
Site Admin
 
Posts: 253
Joined: Mon Nov 19, 2012 11:54 pm

Re: system source tree --SOLVED--

Postby A-dog » Sat Dec 14, 2013 7:15 pm

The svn
Code: Select all
 svn checkout svn://svn.freebsd.org/base/releng/9.2/ /usr/src

doesn't populate the /usr/src/sys directory.
The tar file ftp://ftp.freebsd.org/pub/FreeBSD/relea ... SE/src.txz does.
I needed the kernel source code before anything would work.
After compiling the nvidia-driver, nvidia-xconfig, and nvidia-settings I need to create a /boot/loader.conf file. One doesn't exist now.
Once all of that happened it ran beautifully.
Thank you for your help
A-dog
 
Posts: 17
Joined: Fri Dec 13, 2013 4:09 am


Return to Installing GhostBSD

Who is online

Users browsing this forum: No registered users and 1 guest

cron