Ask Your Question
3

installing ros diamondback on ubuntu 11.10 oneiric ocelot

asked Oct 13 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Oct 13 '11

James gravatar image James
1 1 3 3

Hi, I have recently downloaded ubuntu 11.10 oneiric ocelot and i'm currently trying to install ros diamondback. I have tried to install it using the 11.04 sources.list but it says some packages could not be installed and the final line in the terminal window reads: "E: Unable to correct problems, you have held broken packages." Is there a way to successfully install diamondback on ubuntu 11.10? Thanks, James

5 Answers

Sort by ยป oldest newest most voted
3
James has selected this answer as correct

answered Oct 13 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Oct 13 '11

tfoote gravatar image tfoote
8925 23 72 152
http://www.ros.org/

We will be bringing our Oneiric builds online now that it has been released. There are a few patches which will be required. Note, diamondback is not supported on oneiric as per REP 3 only Electric and later ROS distros will be supported.

If you'd like to run on Oneiric now, I suggest that you compile from source and submit any patches required for the upgrade.

The status of the debian builds can be viewed at http://www.ros.org/debbuild/electric.html

link

Comments

Oneiric debians are now available for most packages. Oneiric is now listed at http://ros.org/wiki/electric/Installation/Ubuntutfoote (Nov 15 '11)
1
James has selected this answer as correct

answered Oct 26 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Oct 26 '11

sebsch gravatar image sebsch
380 4 8 14

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.

link

Comments

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 Enrique (Oct 27 '11)
Are you saying you are running Ubuntu 10.10? There are original packages for 10.10, no need for this workaround. sebsch (Oct 27 '11)
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. Enrique (Oct 28 '11)
Done, works, but still a problem with kinect (see post below). Enrique (Oct 28 '11)
0
James has selected this answer as correct

answered Oct 19 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Oct 19 '11

Yianni gravatar image Yianni
16 6

Just my two cents,

installing the 11.04 packages of ros-base for electric on 11.10 was OK. Quickly tested it running the python publisher/subscriber tutorial which also worked fine.

link

Comments

i did it to, but gazebo doesn't work because of libavcodec, which is version 53 now Bruno Normande (Oct 20 '11)
0
James has selected this answer as correct

answered Oct 20 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Oct 20 '11

phil0stine gravatar image phil0stine
195 2 13
http://www.motilerobotics...

I was able to install Electric on 11.10 from source.

The basic rosmake --rosdep-install built without a problem, but I had troubles getting rviz running. I downloaded yaml-cpp from source, and used the ogre repositories to install assimp, from this page.

Also, my wxpropgrid tar was corrupt, so I had to roscd to the wxpropgrid package and re-make.

I am sure there are broken deps I didn't run into, but hopefully its enough to get you started.

link
0
James has selected this answer as correct

answered Oct 28 '11

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated Oct 28 '11

Enrique gravatar image Enrique
270 2 5 15

Hi,

I've followed sebsch steps. I've been able to install ros-electric-openni-kinect, but when I run 'roslaunch openni_camera openni_node.launch' I'm having problems:

[ INFO] [1319803138.008822101]: [/openni_node1] Number devices connected: 1
[ INFO] [1319803138.009765236]: [/openni_node1] 1. device on bus 001:09 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00362904858048A'
[ INFO] [1319803138.017595280]: [/openni_node1] searching for device with index = 1
[ INFO] [1319803138.031111872]: [/openni_node1] No matching device found.... waiting for devices. Reason: openni_wrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /tmp/buildd/ros-electric-openni-kinect-0.3.1/debian/ros-electric-openni-kinect/opt/ros/electric/stacks/openni_kinect/openni_camera/src/openni_device.cpp @ 61 : creating depth generator failed. Reason: The network connection has been closed!

I've been looking how to fix it, but I've not found anything so far. Any hint?

link

Comments

Finally, I've installed ros-electric from oneiric repos, which are now available. Thanks a lot!. Everything works, 'roslaunch openni_launch' launch files as well. Enrique (Nov 13 '11)

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Oct 13 '11

Seen: 1,536 times

Last updated: Oct 28 '11