system source tree --SOLVED--
system source tree --SOLVED--
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 3:08 pm, edited 1 time in total.
- adripillo12
- Posts: 52
- Joined: Wed Sep 25, 2013 7:04 am
Re: system source tree
It usually starts with nvidia cards but you can open a console and make: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.
Code: Select all
# portsnap fetch update
# cd /usr/ports/x11/nvidia-driver
# make install clean
Re: system source tree
adripillo12 wrote:It usually starts with nvidia cards but you can open a console and make: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.
Then you need to download and install Xorg.Code: Select all
# portsnap fetch update # cd /usr/ports/x11/nvidia-driver # make install clean
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?
- adripillo12
- Posts: 52
- Joined: Wed Sep 25, 2013 7:04 am
Re: system source tree
Its is weird, since I have it running on a computer with nvidia card. But take a look at thisA-dog wrote:adripillo12 wrote:It usually starts with nvidia cards but you can open a console and make: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.
Then you need to download and install Xorg.Code: Select all
# portsnap fetch update # cd /usr/ports/x11/nvidia-driver # make install clean
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?
http://www.freebsd.org/doc/en_US.ISO885 ... lding.html
Re: system source tree
To install nvidia-drivers from ports you need src.
Do
Do
Code: Select all
pkg_add -rf nvidia-drivers
Re: system source tree
/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.ericbsd wrote:To install nvidia-drivers from ports you need src.
DoCode: Select all
pkg_add -rf nvidia-drivers
Re: system source tree
This might be a bug.
Re: system source tree
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
I should get a source code tree. Maybe?
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
Re: system source tree
Yes, or you can download it to ftp://ftp.freebsd.org/pub/FreeBSD/relea ... SE/src.txz.
Re: system source tree --SOLVED--
The svn
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
Code: Select all
svn checkout svn://svn.freebsd.org/base/releng/9.2/ /usr/src
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