/usr/X11R6/lib/modules/drivers: No such file or directory

I recieved this error when attempting to install the new Nvidia blob.
Here's the whole story:
In anticipation of wanting to make use of the Linux OpenGL that the Nvidia driver natively supports. I echoed
[CMD=""]linux_enable=\"YES\" >> /etc/rc.conf[/CMD]
then
[CMD=""]# kldload linux[/CMD]
then proceeded by installing emulators/fedora_base-f10
then installing the xorg server. And finally unpacking the Nvidia blob version 195.36.24.
Following the instructions provided for FreeBSD @ Nvidia:
as root
[CMD=""]# cd unpacked-nvidia-driver[/CMD]
then
[CMD=""]# make install[/CMD]
which resulted in make success, but install failure:
install: /usr/X11R6/lib/modules/drivers: No such file or directory

Not sure what went wrong, but the drivers directory exists in /usr/local/lib/xorg/modules
But I think a symlink was supposed to be made in the X11R6 tree. Not sure how best to proceed. Anyone have any thoughts/suggestions?

Thank you for all your time and consideration.
 
[SOLVED] /usr/X11R6/lib/modules/drivers: No such file or directory

Whoo hoo! That did it - well, almost.
Here's the answer, the variable:
Code:
.if !defined(X11BASE)
X11BASE=	/usr/X11R6
Must be changed in all subdirs in the:
Nvidia-driver-dir/xll
folder. eg;
xll/bin
x11/driver
x11/extension
x11/man
to:
Code:
.if !defined(X11BASE)
X11BASE=	/usr/local
then it will be safe to perform a
[CMD=""]# make install[/CMD]
from the root of the freshly extracted Nvidia-driver-dir. :)

Thanks again for your responses!
 
OK Forgot to include:
Nvidia-driver-dir/lib
So the Makefile contained there-in ALSO needs to read:
Code:
.if !defined(X11BASE)
X11BASE=	/usr/local
ALTHO - the whole thing could have been easer:
[CMD=""]# cd <Nvidia-driver-dir>[/cmd]
[cmd=]# make -DX11BASE=/usr/local install[/CMD]
But that would have been too easy. :p

Hope this might help others!

Best wishes.
 
Dang, this

Code:
# make -DX11BASE=/usr/local install

seemingly has no effect here.
Guess I'll do it the long way.
Cheers.
 
Back
Top