FreeBSD 10 add kernel source?

I need to install the nvidia driver but it returns error messages telling me
Code:
unable to locate the kernel sources tree...

Hope somebody can tell me how to do it, just by typing pkg install kernel-source or something else?

Thanks.
 
Re: [Solved] FreeBSD 10 add kernel source?

Or # svnlite checkout [url=http://svn0.eu.freebsd.org/base/releng/10.0/]http://svn0.eu.freebsd.org/base/releng/10.0/[/url] /usr/src. The URL depends on your geographic location and the use you want to give to these sources (i.e. tracking a development branch).
 
OMG!
I'm really a BSD noob ^^;
I didn't know that svnlite things, when I type the svnlite in my console it says Type 'svn help' for usage.
 
Back
Top