nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Error with install nvidia driver (http://www.nvnews.net/vbulletin/showthread.php?t=97138)

sjap 08-23-07 04:30 PM

Error with install nvidia driver
 
Hi,

When I try to install the NVIDIA-FreeBSD-x86-100.14.11.tar.gz I get this fail.

freebsd NVIDIA-FreeBSD-x86-100.14.11 # make install
===> src (install)
install -o root -g wheel -m 555 nvidia.ko /boot/modules
kldxref /boot/modules
===> lib (install)
===> lib/libGL (install)
===> lib/libnvidia-tls (install)
===> lib/libnvidia-cfg (install)
===> lib/libGLcore (install)
===> lib/libXvMCNVIDIA (install)
===> lib/compat (install)
===> lib/compat/libGL (install)
===> lib/compat/libnvidia-tls (install)
===> lib/compat/libGLcore (install)
===> x11 (install)
===> x11/driver (install)
===> x11/extension (install)
rm: /lib/modules/extensions/libglx.so.1: Not a directory
*** Error code 1

Stop in /root/NVIDIA-FreeBSD-x86-100.14.11/x11/extension.
*** Error code 1

Stop in /root/NVIDIA-FreeBSD-x86-100.14.11/x11.
*** Error code 1

Stop in /root/NVIDIA-FreeBSD-x86-100.14.11.

My gfx is GeForce 6600/GeForce 6600 GT

sjap 08-24-07 04:19 AM

Re: Error with install nvidia driver
 
Can somebody please help me with my problem ?

zebdits 08-24-07 04:29 AM

Re: Error with install nvidia driver
 
1 Attachment(s)
Are you running xorg-7.2?
If so copy the attached file in the same directory containing NVIDIA-FreeBSD-x86-100.14.11 and run bunzip2 patch-driver.bz2 && patch < patch-driver.
BTW the last driver has been committed in the ports tree, you could try it.

stieltje 08-24-07 06:52 AM

Re: Error with install nvidia driver
 
Still does not work:


/NVIDIA-FreeBSD-x86-1.0-7185]# bunzip2 patch-driver.bz2 && patch < patch-driver
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- NVIDIA-FreeBSD-x86-100.14.11/x11/driver/Makefile.orig 2007-06-14 00:44:06.000000000 +0200
|+++ NVIDIA-FreeBSD-x86-100.14.11/x11/driver/Makefile 2007-06-23 01:49:37.000000000 +0200
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 5.
1 out of 1 hunks failed--saving rejects to Makefile.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- NVIDIA-FreeBSD-x86-100.14.11/x11/extension/Makefile.orig 2007-06-14 00:44:06.000000000 +0200
|+++ NVIDIA-FreeBSD-x86-100.14.11/x11/extension/Makefile 2007-06-23 01:51:10.000000000 +0200
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 6.
1 out of 1 hunks failed--saving rejects to Makefile.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- NVIDIA-FreeBSD-x86-100.14.11/x11/lib/Makefile.orig 2007-06-14 00:44:06.000000000 +0200
|+++ NVIDIA-FreeBSD-x86-100.14.11/x11/lib/Makefile 2007-06-23 01:51:51.000000000 +0200
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 4.
1 out of 1 hunks failed--saving rejects to Makefile.rej
done

:> export_syms
awk -f /sys/conf/kmod_syms.awk nvidia.kld export_syms | xargs -J% objcopy % nvidia.kld
ld -Bshareable -d -warn-common -o nvidia.ko nvidia.kld
objcopy --strip-debug nvidia.ko
install -o root -g wheel -m 555 nvidia.ko /boot/modules
kldxref /boot/modules
===> lib (install)
===> lib/libGL (install)
===> lib/libnvidia-tls (install)
===> lib/libGLcore (install)
===> lib/libXvMCNVIDIA (install)
===> lib/compat (install)
===> lib/compat/libGL (install)
===> lib/compat/libnvidia-tls (install)
===> lib/compat/libGLcore (install)
===> x11 (install)
===> x11/driver (install)
install: /usr/X11R6/lib/modules/drivers: No such file or directory
*** Error code 71

Stop in /home/stieltje/nvidia_tmp/NVIDIA-FreeBSD-x86-1.0-7185/x11/driver.
*** Error code 1

Stop in /home/stieltje/nvidia_tmp/NVIDIA-FreeBSD-x86-1.0-7185/x11.
*** Error code 1

Stop in /home/stieltje/nvidia_tmp/NVIDIA-FreeBSD-x86-1.0-7185.




# less Makefile.rej
***************
*** 4,10 ****
X11BASE= /usr/X11R6
.endif

- LIBDIR= ${X11BASE}/lib/modules
LIB= nvidia-wfb
SHLIB_MAJOR= 1
SHLIB_LINK= libwfb.so
--- 4,11 ----
X11BASE= /usr/X11R6
.endif

+ #LIBDIR= ${X11BASE}/lib/modules
+ LIBDIR= ${X11BASE}/lib/xorg/modules
LIB= nvidia-wfb
SHLIB_MAJOR= 1
SHLIB_LINK= libwfb.so

sjap 08-24-07 10:05 AM

Re: Error with install nvidia driver
 
Thanks, It works now :D

SirDice 08-25-07 10:14 AM

Re: Error with install nvidia driver
 
Quote:

Originally Posted by stieltje
Still does not work:
{snip}
install: /usr/X11R6/lib/modules/drivers: No such file or directory
*** Error code 71

mkdir /usr/X11R6/lib/modules/drivers
mkdir /usr/X11R6/lib/modules/extensions


All times are GMT -5. The time now is 12:06 AM.

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