e23a [Solved] /usr/X11R6/lib/modules/drivers: No such file or directory - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > X.Org

X.Org X.Org on FreeBSD installation & configuration.

Reply
 
Thread Tools Display Modes
  #1  
Old June 7th, 2010, 04:49
PhenomII PhenomII is offline
Junior Member
 
Join Date: Jun 2010
Location: the terminal (console)
Posts: 58
Thanks: 9
Thanked 4 Times in 3 Posts
Default /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
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.

__________________
8.1-PRERELEASE/amd64 | AMD PhenomII X3 440 | MSI 880GMA-E45 | NVIDIA G98 (8400 GS)

Reply With Quote
  #2  
Old June 7th, 2010, 05:40
PhenomII PhenomII is offline
Junior Member
 
Join Date: Jun 2010
Location: the terminal (console)
Posts: 58
Thanks: 9
Thanked 4 Times in 3 Posts
Thumbs up [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
# make install
from the root of the freshly extracted Nvidia-driver-dir.

Thanks again for your responses!
__________________
8.1-PRERELEASE/amd64 | AMD PhenomII X3 440 | MSI 880GMA-E45 | NVIDIA G98 (8400 GS)


Last edited by DutchDaemon; December 8th, 2011 at 04:05.
Reply With Quote
  #3  
Old June 7th, 2010, 07:16
PhenomII PhenomII is offline
Junior Member
 
Join Date: Jun 2010
Location: the terminal (console)
Posts: 58
Thanks: 9
Thanked 4 Times in 3 Posts
Default

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:
# cd <Nvidia-driver-dir>
# make -DX11BASE=/usr/local install
But that would have been too easy.

Hope this might help others!

Best wishes.

__________________
8.1-PRERELEASE/amd64 | AMD PhenomII X3 440 | MSI 880GMA-E45 | NVIDIA G98 (8400 GS)


Last edited by DutchDaemon; December 8th, 2011 at 04:06.
Reply With Quote
  #4  
Old December 8th, 2011, 00:18
rianav rianav is offline
Junior Member
 
Join Date: Dec 2011
Posts: 14
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Dang, this

Code:
# make -DX11BASE=/usr/local install
seemingly has no effect here.
Guess I'll do it the long way.
Cheers.
Reply With Quote
  #5  
Old December 8th, 2011, 08:45
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Use the port, x11/nvidia-driver. Change the version numbers in the port's Makefile if you want.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
rianav (December 9th, 2011)
  #6  
Old December 9th, 2011, 17:26
rianav rianav is offline
Junior Member
 
Join Date: Dec 2011
Posts: 14
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Much thanks. I will consult the Makefile.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] ldconfig: /usr/lib/aout: No such file or directory Kiiski General 3 December 1st, 2010 18:07
[Solved] cups error while loading shared libraries: /usr/lib/libcups.so.2: ELF file OS ABI inv da1 Peripheral Hardware 2 August 28th, 2010 16:06
[Solved] /libexec/ld-elf.so.1: /usr/local/lib/libintl.so.8: unsupported file layout rnejdl Installation and Maintenance of FreeBSD Ports or Packages 3 April 1st, 2010 21:55
Fatal error 'Cannot create kernel pipe' at line 284 in file /usr/src/lib/libc_r/uthre Mehti System Hardware 7 January 31st, 2010 08:16
/usr/src/sys : No such file or directory eugene210682 Installing & Upgrading 3 March 4th, 2009 11:33


All times are GMT +1. The time now is 14:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0