(NOTE: I'm running BT5 with an NVIDIA GeForce GT130M)
I've run into the apparently common problem of trying to install NVIDIA drivers and getting the problem:
Based on proposed solutions by other people, this is what I've been trying:
Error: unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernal source files for your kernel and that they are properly configured
apt-cache search linux-source
linux-source-2.6.38 - Linux kernel source for version 2.6.38
linux-source-2.6.38-rc8 - Linux kernel source for version 2.6.38-rc8
linux-source - BackTrack Linux Kernel Source Virtual Package
source-linux-source - BackTrack Linux Kernel Source Virtual Package
so there I see the linux source file I was supposedly supposedly missing, linux-source-2.6.38
apt-get install linux-source-2.6.38
this appeared to install fine. (typing the command again into the terminal shows this: linux-source-2.6.38 is already the newest version.")
so it seems the kernel is installed properly...
same problem. "Error: unable to find the kernel source tree for the currently running kernel."
sudo sh NVIDIA-Linux-x86-280.13.run
I also tried
based on someone's suggestion, no luck. "linux-headers-2.6.38 is already the newest version."
apt-get install linux-headers -'uname -r'
I've been trying to fix this problem for almost a month to no avail, it's so frustrating. Maybe I need to specify the path that the linux source is stored in? Maybe I should install linux-source-2.6.38-rc8 instead of linux-source-2.6.38?
Any suggestions are appreciated.