
Similar to in earlier versions, you can make packages meant for natty narwhal work on oneiric ocelot.
I successfully tried the following with electric, but it should also work with diamondback.
- Add the latest package source (in this case: Natty) to your sources.list (electric, diamondback).
- Install freeglut3-dev, which replaced libglut3-dev in oneiric:
sudo apt-get install freeglut3-dev
- Install equivs, which will allow you to create pseudo-packages:
sudo apt-get install equivs
- Create a file libglut3-dev.conf for the pseudo package linking libglut3-dev and freeglut3-dev:
Section: misc
Priority: optional
Standards-Version: 3.6.2
Package: libglut3-dev
Depends: freeglut3-dev
Description: temporary package to satisfy dependencies of Ubuntu 11.04 packages on 11.10
- Convert it to an actual package and install it:
equivs-build libglut3-dev.conf
sudo dpkg -i libglut3-dev_1.0_all.deb
- You should now be able to install the full ros desktop using one of the following
sudo apt-get install ros-electric-desktop-full
sudo apt-get install ros-diamondback-desktop-full
- Now you still cannot use opencv and some other packages as they are linked against old versions of some libraries. Download and install the following packages taken from natty to get these to work anyway. Choose the correct link according to your architecture:
libavcodec52 libavformat52 libavutil50 libavutil-extra-50 libswscale0 libtinyxml2.5.3 libvtk5.4
Afterwards, install all of these packages using
sudo dpkg -i *.deb
wherever you downloaded them to.
Originally posted by sebsch with karma: 790 on 2011-10-25
This answer was NOT ACCEPTED on the original site
Post score: 1
Original comments
Comment by Enrique on 2011-10-28:
Done, works, but still a problem with kinect (see post below).
Comment by Enrique on 2011-10-27:
Sorry, mean 11.10 (oneiric). I try to recompile openni_camera only, but it still fails because of libtinyxml. I think I could try to install libtinyxml.so.2.5.3, but I've not done yet.
Comment by sebsch on 2011-10-27:
Are you saying you are running Ubuntu 10.10? There are original packages for 10.10, no need for this workaround.
Comment by Enrique on 2011-10-27:
I've followed all the steps, but I have problems running 'roslaunch openni_camera openni_node.launch'. This is the error (part): openni_node: error while loading shared libraries: libtinyxml.so.2.5.3: cannot open shared object file: No such file or directory, Ubuntu 10.10 comes with ver. 2.6.2