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

X.Org on FreeBSD installation & configuration.

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

Postby PhenomII » 07 Jun 2010, 03: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
[CMD=""]linux_enable=\"YES\" >> /etc/rc.conf[/CMD]
then
[CMD=""]# kldload linux[/CMD]
then proceeded by installing [color="Blue"]emulators/fedora_base-f10[/color]
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:
[color="Red"]install: /usr/X11R6/lib/modules/drivers: No such file or directory[/color]

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.

[color="Blue"]8.1-PRERELEASE/amd64 [color="Black"]|[/color] AMD PhenomII X3 440 [color="Black"]|[/color] MSI 880GMA-E45 [color="Black"]|[/color] NVIDIA G98 (8400 GS)[/color]

PhenomII
Junior Member
 
Posts: 58
Joined: 06 Jun 2010, 18:26
Location: the terminal (console)

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

Postby PhenomII » 07 Jun 2010, 04:40

Whoo hoo! That did it - well, almost.
Here's the answer, the variable:
Code: Select all
.if !defined(X11BASE)
X11BASE=   /usr/X11R6

Must be changed in all subdirs in the:
[file]Nvidia-driver-dir/xll[/file]
folder. eg;
[FILE]xll/bin[/FILE]
[FILE]x11/driver[/FILE]
[FILE]x11/extension[/FILE]
[FILE]x11/man[/FILE]
to:
Code: Select all
.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!
[color="Blue"]8.1-PRERELEASE/amd64 [color="Black"]|[/color] AMD PhenomII X3 440 [color="Black"]|[/color] MSI 880GMA-E45 [color="Black"]|[/color] NVIDIA G98 (8400 GS)[/color]

PhenomII
Junior Member
 
Posts: 58
Joined: 06 Jun 2010, 18:26
Location: the terminal (console)

Postby PhenomII » 07 Jun 2010, 06:16

OK Forgot to include:
[file]Nvidia-driver-dir/lib[/file]
So the [FILE]Makefile[/FILE] contained there-in ALSO needs to read:
Code: Select all
.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.

[color="Blue"]8.1-PRERELEASE/amd64 [color="Black"]|[/color] AMD PhenomII X3 440 [color="Black"]|[/color] MSI 880GMA-E45 [color="Black"]|[/color] NVIDIA G98 (8400 GS)[/color]

PhenomII
Junior Member
 
Posts: 58
Joined: 06 Jun 2010, 18:26
Location: the terminal (console)

Postby rianav » 07 Dec 2011, 23:18

Dang, this

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


seemingly has no effect here.
Guess I'll do it the long way.
Cheers.
rianav
Junior Member
 
Posts: 14
Joined: 01 Dec 2011, 13:31

Postby SirDice » 08 Dec 2011, 07:45

Use the port, [port]x11/nvidia-driver[/port]. Change the version numbers in the port's [file]Makefile[/file] if you want.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16196
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby rianav » 09 Dec 2011, 16:26

Much thanks. I will consult the [color="SeaGreen"]Makefile[/color].
rianav
Junior Member
 
Posts: 14
Joined: 01 Dec 2011, 13:31


Return to X.Org

Who is online

Users browsing this forum: No registered users and 0 guests