Hi there

If anyone wants to work around this while waiting on the fix, as I
needed to do, this is how I did it. What you would do is download the
attached patches file to a folder that you create and run the set of
commands below. Run the commands one by one in case something doesn't
work.

Note the patches are not complete; they are only for a very specific proble - 
you need to edit them if e.g. you are using nvidia-experimental-304.
Also, take care. If things are different on your system it may not work.

Regardses
Damien

sudo apt-get install build-essential fakeroot dpkg-dev ubuntu-dev-tools
#possibly the last one is unnecessary

mkdir nvidia_cuda_fix #where we will be working

cd nvidia_cuda_fix #download the patch files to here -
patches_cuda_work_with_310_1210.tar.gz

apt-get source nvidia-cuda-toolkit #get the source for the package - you
will build it - this is the source with all the additional ubuntu/debian
bits

tar -xvzvf patches_cuda_work_with_310_1210.tar.gz #unzip the patches I
have provided in the attachment and which you downloaded

patch nvidia-cuda-toolkit_4.2.9-1ubuntu1.dsc nvidia-cuda-
toolkit_4.2.9-1ubuntu1.dsc.patch.20121220 #adds nvidia-experimental-310
to list of dependencies

dpkg-source -x nvidia-cuda-toolkit_4.2.9-1ubuntu1.dsc # I am not sure
what this does exactly... - extracts the source package - I think
actually this is already done by apt-get, but anyway

cd nvidia-cuda-toolkit-4.2.9/ #go to where things are going to be built

patch debian/control ../control.patch.20121220  #adds nvidia-
experimental-310 to list of dependencies

dpkg-buildpackage -rfakeroot -b #compile the stuff we are going to
install

cd .. #it has put the deb files in the parent dir (our working dir)

sudo apt-get install gcc-4.4 g++-4.4 libthrust-dev opencl-headers # some
random dependencies of the built packages - you may need more here and
rerun the below line untill things work if dependencies weren't
satisfied on your system

sudo dpkg --install *deb # install it and see it break

** Attachment added: "patches_cuda_work_with_310_1210.tar.gz"
   
https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1092259/+attachment/3464600/+files/patches_cuda_work_with_310_1210.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1092259

Title:
  nvidia-cuda-dev conflicts with nvidia-experimental-*

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1092259/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to