View Single Post
Old 05-29-10, 11:43 AM   #3
Jamesc359
Registered User
 
Join Date: May 2010
Location: Idaho
Posts: 3
Default Re: nvidia-173.14.25 fails to install on 2.6.33.4 kernel | X.Org X Server 1.7.7

Hello danix, :-)

Quote:
Originally Posted by danix View Post
Do you actually have anything at /lib/modules/2.6.33.4/build?
Yes there is. /lib/modules/2.6.33.4/build is a link to /usr/src/linux-2.6.33.4 Which seems to contain (part of?) the header files.

Quote:
Originally Posted by danix View Post
That's where kernel *headers* are usually installed, which are sufficient to build the module, but they might be absent. I suspect the installer is trying this location for the running kernel's headers because it's not aware of the kernel sources existing anywhere else.

Did you build the kernel yourself, or did you install a new kernel through your distribution's package manager? Some distributions will install a tarball of the kernel sources to /usr/src when you install a kernel-source package. It's possible that you installed the kernel-source package, and simply have an unextracted tarball sitting around, which obviously the installer can't use. If this is the case, extract the tarball into /usr/src. You can also see if your distribution has a kernel-headers or kernel-devel package.
I used my distro's package manager to install the kernel headers. I don't see any tarballs lying around. /usr/src/linux-2.6.33.4 seems to contain the headers.

Quote:
Originally Posted by danix View Post
If you built the kernel yourself, and the sources are located somewhere unusual, then pass the actual path of the kernel sources to the installer using the "--kernel-source-path" option.
I've tried using both --kernel-source-path=/lib/modules/2.6.33.4 and --kernel-source-path=/usr/src/linux-2.6.33.4 Both result in the same error message and log.
Jamesc359 is offline   Reply With Quote