View Single Post
Old 09-24-02, 03:43 AM   #7
Neko
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Scorched
Here's an update of my current situation.

Debian 3.0
Linux version 2.4.18
XFree86 4.1.0
GeForce 3 Ti 500

[...]
So I don't have a clue what to do anymore.
OK, here's what to do in easy steps. At least it worked for me

I assume you did not kompile a fresh kernel - if you did so, the steps are a little bit different.

Get the kernel-headers of the kernel you use. Be sure to pick the right flavor (e.g. I needed 2.4.18-k7). Get the nvidia-packages from Debian. Get the fakeroot package. Get the pgpgpg-package and by typing "gpg --gen-key" generate a key if you do not already have one.

Now be sure to be connected to the internet. Set a proxy if necessary by typing "export http_proxy=http://<fill in your proxy address>

Install MesaGL and MesaGL-dev:
$ apt-get install xlibmesa3
$ apt-get install xlibmesa3-dev

Remove any Glide-packages:
$ apt-get remove '.*glide.*'

Now unpack the Nvidia-kernel-source-package:
$ tar zxvf nvidia-kernel-src.tar.gz

That's it for preparation. Now let's build the packages. Caution : your internet connection has still to be up!

$ cd /usr/src/nvidia-glx-1*
$ dpkg-buildpackage -us -uc -rfakeroot

This should start a script that downloads the binary from Nvidia and builds a GLX-driver-package.

When you unpacked the nvidia-kenel-source-package you might have noticed that you now have a directory called "modules":

$ cd /usr/src/modules/nvidia-kernel-*
$ debian/rules kdist KSRC=/usr/src/kernel-headers-2.4.18-<flavor> KVERS=2.4.18-<flavor>

If everything went right you should now have 3 *.deb-packages in /usr/src.
Now just install them by typing

$ dpkg -i /usr/src/nvidia-*deb

Done
  Reply With Quote