Re: nVidia drivers and rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-05-19 at 17:00 -0700, Anthony Green wrote:
> On Thu, 2005-05-19 at 17:43 -0400, Jeff Spaleta wrote:
> > 3) example using nvidia-glx-1.0.7174-0.lvn.1.3.src.rpm  from livna
> >     assuming kernel-smp-2.6.11-1.1319_FC4 and kernel-smp-devel-2.6.11-1.1319_FC4
> >     are installed  on an smp athlon:
> >     rpmbuild --rebuild --target i686 --define "kernel
> > 2.6.11-1.1315_FC4smp" nvidia-glx-1.0.7174-0.lvn.1.3.src.rpm
> > (that should be one line but of course email is going to line wrap that)
> 
> It seems that you definitely need to set some stuff up in advance,
> since, for instance, this looks for kernel sources.  I'm still not able
> to get it all working.
> 
> I exploded the kernel SRPM with rpmbuild -bp, and then made a symlink
> from  /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11
> to /usr/src/kernels/2.6.11-1.1315_FC4-i686. 
> 
> This makes the livna RPM rebuild get further, but it still fails with a
> message asking me to make sure I'm running the right kernel version
> (matching the sources, which I think I am), and something about
> KBUILD_OUTPUT, KBUILD, and SYSOUT.
> 
> Doesn't anybody else get this?

In addition to what Jeff mentioned, I needed the following installed
(available from the yum repositories):

kernel-devel
fedora-rpmdevtools

I found that I was also able to build the source rpm in runlevel 3. So,
for me, I first update the kernel, then I reboot to run level 3. Then I
use the following command to rebuild the source rpm:

rpmbuild --rebuild --target i686 nvidia-glx-1.0.7174-0.lvn.1.3.src.rpm

Note that this particular command builds an i686 architecture rpm set
based on the kernel you are running at the time.

Then, the *very first time* installed, I needed to install both
kernel-module-nvidia and nvidia-glx. After that, only
kernel-module-nvidia needs to be updated when you update the kernel.

Mine is working like a champ.

Hope that helps!

Cheers,

Chris


--
====================================
"If you get to thinkin' you're a
person of some influence, try
orderin' someone else's dog around."
--Cowboy Wisdom




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]