PDA

View Full Version : [Solved] /usr/X11R6/lib/modules/drivers: No such file or directory


PhenomII
June 7th, 2010, 04:49
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
linux_enable=\"YES\" >> /etc/rc.conf
then
# kldload linux
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
# cd unpacked-nvidia-driver
then
# make install
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.

PhenomII
June 7th, 2010, 05:40
Whoo hoo! That did it - well, almost.
Here's the answer, the variable:
.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:
.if !defined(X11BASE)
X11BASE= /usr/local

then it will be safe to perform a
# make install
from the root of the freshly extracted Nvidia-driver-dir. :)

Thanks again for your responses!

PhenomII
June 7th, 2010, 07:16
OK Forgot to include:
Nvidia-driver-dir/lib
So the Makefile contained there-in ALSO needs to read:
.if !defined(X11BASE)
X11BASE= /usr/local

ALTHO - the whole thing could have been easer:
# cd <Nvidia-driver-dir>
# make -DX11BASE=/usr/local install
But that would have been too easy. :P

Hope this might help others!

Best wishes.

rianav
December 8th, 2011, 00:18
Dang, this

# make -DX11BASE=/usr/local install

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

SirDice
December 8th, 2011, 08:45
Use the port, x11/nvidia-driver. Change the version numbers in the port's Makefile if you want.

rianav
December 9th, 2011, 17:26
Much thanks. I will consult the Makefile.