I have a problem with installing Cuda toolkit on Ubuntu 13.04 64 bit.
I am downloading the package with https://developer.nvidia.com/cuda-downloads
Then I stop the x server and run the installer (with sudo).
I get the error with the driver:
ERROR: The kernel header file '/lib/modules/3.8.0-25-generic/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/3.8.0-25-generic/build' have not been configured.
And to save time, there’s the summary of what I have done.
- Verified that that is the version of my kernel
- Updated everything (sudo upt-get update, sudo apt-get upgrade)
- Installed the packages linux-headers, linux-source, build-essential and some more suggested on different forums.
- Tried simlinking that header file location (it really does not exist) to the location I found it on my system (/usr/src/linux-headers-3.8.0-25-generic/include/generated/uapi/linux/version.h). In this case the installation failed with no error provided.
Any ideas of what else can be done?