Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-19-06, 11:25 AM   #1
_SAS
Registered User
 
Join Date: Nov 2006
Posts: 1
Default Legacy drivers with FreeBSD 6.0 troubles

It seems that make tries to compile libs for Linux compatibility, but it can't install them because I turned Linux binary compatibility off. How can I disable compiling of lib/compat?
Here is the log:
Code:
sas# make install
===> src (install)
install -o root -g wheel -m 555   nvidia.ko /boot/modules
kldxref /boot/modules
===> lib (install)
find: /compat/linux/lib: No such file or directory
find: /compat/linux/usr/lib: No such file or directory
find: /compat/linux/usr/X11R6/lib: No such file or directory
===> lib/libGL (install)
===> lib/libnvidia-tls (install)
===> lib/libGLcore (install)
===> lib/libXvMCNVIDIA (install)
===> lib/compat (install)
===> lib/compat/libGL (install)
install: /compat/linux/usr/lib: No such file or directory
*** Error code 71

Stop in /usr/home/andrew/g/NVIDIA-FreeBSD-x86-1.0-7184/lib/compat/libGL.
*** Error code 1

Stop in /usr/home/andrew/g/NVIDIA-FreeBSD-x86-1.0-7184/lib/compat.
*** Error code 1

Stop in /usr/home/andrew/g/NVIDIA-FreeBSD-x86-1.0-7184/lib.
*** Error code 1

Stop in /usr/home/andrew/g/NVIDIA-FreeBSD-x86-1.0-7184.
_SAS is offline   Reply With Quote
Old 11-21-06, 12:49 PM   #2
David Marec
Registered User
 
Join Date: Nov 2006
Location: Toulouse, France
Posts: 22
Default Re: Legacy drivers with FreeBSD 6.0 troubles

Quote:
Originally Posted by _SAS
It seems that make tries to compile libs for Linux compatibility, but it can't install them because I turned Linux binary compatibility off. How can I disable compiling of lib/compat?
'Linux compatiblity' is set up on my workstation and the same error occured when i tried to upgrade it from the 1.0-8774 driver.
I guess that a FreeBSD upgrade (-> 6.2 ?) is responsible of that issue.

So, i installed the driver available from the port tree, it works fine but bzflag and other openGL apps freezes.
David Marec is offline   Reply With Quote
Old 11-21-06, 04:23 PM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Legacy drivers with FreeBSD 6.0 troubles

@_SAS: does it work if you apply the attached patch?

@David Marec: that sounds like a different problem, 1.0-7184 is missing some changes that went into more recent driver releases to allow installing the driver without the Linux ABI compatiblity environment.
Attached Files
File Type: txt NVIDIA-FreeBSD-x86-1.0-7184-168204.diff.txt (4.7 KB, 210 views)
zander is offline   Reply With Quote
Old 11-23-06, 03:46 PM   #4
David Marec
Registered User
 
Join Date: Nov 2006
Location: Toulouse, France
Posts: 22
Default Re: Legacy drivers with FreeBSD 6.0 troubles

Quote:
Originally Posted by zander
@David Marec: that sounds like a different problem, 1.0-7184 is missing some changes that went into more recent driver releases to allow installing the driver without the Linux ABI compatiblity environment.
You are right, the drivers builds fail on a different error :

Code:
===> x11/driver (install)
install: /lib/modules/drivers: No such file or directory
*** Error code 71

Stop in /usr/home/ftp/NVIDIA-FreeBSD-x86-1.0-9629/x11/driver.
*** Error code 1

Stop in /usr/home/ftp/NVIDIA-FreeBSD-x86-1.0-9629/x11.
*** Error code 1

Stop in /usr/home/ftp/NVIDIA-FreeBSD-x86-1.0-9629.
david:/home/ftp/NVIDIA-FreeBSD-x86-1.0-9629$
I get the same error, trying to install the NVIDIA-FreeBSD-x86-1.0-8776 driver.
David Marec is offline   Reply With Quote
Old 11-23-06, 04:09 PM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Legacy drivers with FreeBSD 6.0 troubles

@David Marec: at first sight, this looks like it may be related to Xorg 7.x; did you manually upgrade to Xorg 7.x or did this happen as part of the upgrade to FreeBSD 6.2?
zander is offline   Reply With Quote
Old 11-25-06, 04:55 AM   #6
David Marec
Registered User
 
Join Date: Nov 2006
Location: Toulouse, France
Posts: 22
Default Re: Legacy drivers with FreeBSD 6.0 troubles

Zander,
Quote:
Originally Posted by zander
@David Marec: at first sight, this looks like it may be related to Xorg 7.x; did you manually upgrade to Xorg 7.x or did this happen as part of the upgrade to FreeBSD 6.2?
I am still running Xorg 6.x
Code:
$ X -version
X Window System Version 6.8.99.903 (6.9.0 RC 3)
Release Date: 03 December 2005 + cvs
X Protocol Version 11, Revision 0, Release 6.8.99.903
Nvidia driver is the only port that i install manually.
i guess that the issue came with the last upgrade to FreeBSD 6.2
David Marec is offline   Reply With Quote
Old 11-25-06, 01:59 PM   #7
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Legacy drivers with FreeBSD 6.0 troubles

Does /usr/X11R6/lib/modules/drivers exist on your system, then?
zander is offline   Reply With Quote
Old 11-27-06, 02:20 PM   #8
David Marec
Registered User
 
Join Date: Nov 2006
Location: Toulouse, France
Posts: 22
Default Re: Legacy drivers with FreeBSD 6.0 troubles

Quote:
Originally Posted by zander
Does /usr/X11R6/lib/modules/drivers exist on your system, then?
No.
Code:
david:~$ ls /usr/X11R6/lib/driver*
ls: No match.*
David Marec is offline   Reply With Quote

Old 12-04-06, 06:09 PM   #9
flz
Registered User
 
Join Date: Oct 2006
Posts: 13
Default Re: Legacy drivers with FreeBSD 6.0 troubles

David: You need to install the driver with 'make all install X11BASE=/usr/X11R6'.

Zander: I think xorg-server in 6.9 (and before) used to create ${X11BASE}/lib/modules/drivers. Since I switched to xorg-server 1.1.1 (xorg 7.1+), I had to sed 's|lib/modules|lib/xorg/modules' in x11/driver, x11/extension and x11/lib everytime I had to install a new nvidia driver.

Hope this helps.
flz is offline   Reply With Quote
Old 12-17-06, 03:51 AM   #10
David Marec
Registered User
 
Join Date: Nov 2006
Location: Toulouse, France
Posts: 22
Default Re: Legacy drivers with FreeBSD 6.0 troubles

Zander, flz,

I upgraded Xserver from the snapshot port to the 6.9.0 release, installed the fresh nividia 9631 driver port and it did the trick : glxgear and others 3D/OpenGL applications were working.

Quote:
Originally Posted by flz
David: You need to install the driver with 'make all install X11BASE=/usr/X11R6'.
Then, I also tried to install the driver by this way.
But, as i have patched the make files by myself, the installation failed and broke the glx library:
«nv_xxxxxxxxxxx» not found.

I forced the re-installation of the port driver but the library was still broken.

I had to download the driver tgz file and re-install it
- using the command line above -
to solve the issue.
It seems that the port driver does not re-install some libraries.

Quote:
Hope this helps.
Thanks for your help.
David Marec is offline   Reply With Quote
Reply


Thread Tools

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
NVIDIA drivers 302.17 for Linux, FreeBSD and Solaris News Archived News Items 0 06-16-12 07:20 AM
NVIDIA drivers 302.11 for Linux, FreeBSD and Solaris News Archived News Items 0 05-19-12 11:20 AM
Creative drivers ? SparrowHawk General Hardware 39 11-18-02 08:03 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Redhat 7.3 + Nvidia drivers 3123 = troubles e-r-a-n NVIDIA Linux 4 09-17-02 12:26 PM

All times are GMT -5. The time now is 04:19 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.