anyways, my story of installing cuda on ubuntu:
1- Remove all nvidia drivers!
2- clean the system of anything nvidia
3- in safe mode do fixing of broken drivers
4- run this
sudo aptitude install build-essential libncurses-dev gettext
linux-headers-uname -r
5. get the correct version of cuda toolkit and sdk to install on your system
6. install them
thanks everyone… i wonder why doing this took so long?
Here is a guide for setting up CUDA in Ubuntu 8.04. It’s kind of a hack - it doesn’t use the NVidia driver installers like you managed to, but it worked for me.
mascarpone@mascarpone-desktop:~/NVIDIA_CUDA_SDK$ make
make[1]: Entering directory `/home/mascarpone/NVIDIA_CUDA_SDK/common'
a - obj/release/bank_checker.cpp_o
a - obj/release/cmd_arg_reader.cpp_o
a - obj/release/cutil.cpp_o
a - obj/release/stopwatch.cpp_o
a - obj/release/stopwatch_linux.cpp_o
a - obj/release/multithreading.cpp_o
ar: could not create temporary file whilst writing archive: No more archived files
make[1]: *** [../lib/libcutil.a] Error 1
make[1]: Leaving directory `/home/mascarpone/NVIDIA_CUDA_SDK/common'
make: *** [lib/libcutil.so] Error 2