Ask Your Question
2

ROS and Ubuntu 12.10 Quantal working?

asked 2012-09-30 13:17:59 -0600

sem gravatar image

updated 2014-01-28 17:13:47 -0600

ngrennan gravatar image

Hello, for testing of my previous question http://answers.ros.org/question/44632/ i wanted to test Ubuntu 12.10 and ROS. Is it yet possible to use this combination?

With the installation sources

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'

i get the error:

sudo apt-get install ros-fuerte-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-fuerte-desktop-full : Depends: ros-fuerte-nodelet-core (= 1.6.5-s1347168835~precise) but it is not going to be installed
                           Depends: ros-fuerte-geometry-tutorials (= 0.1.3-s1348603799~precise) but it is not going to be installed
                           Depends: ros-fuerte-orocos-kinematics-dynamics (= 0.2.3-s1347124102~precise) but it is not going to be installed
                           Depends: ros-fuerte-filters (= 1.6.0-s1347133504~precise) but it is not going to be installed
                           Depends: ros-fuerte-slam-gmapping (= 1.2.7-s1347181600~precise) but it is not going to be installed
                           Depends: ros-fuerte-simulator-gazebo (= 1.6.16-s1347172830~precise) but it is not going to be installed
                           Depends: ros-fuerte-visualization (= 1.8.14-s1348597567~precise) but it is not going to be installed
                           Depends: ros-fuerte-vision-opencv (= 1.8.6-s1348605180~precise) but it is not going to be installed
                           Depends: ros-fuerte-perception-pcl (= 1.2.3-s1347170256~precise) but it is not going to be installed
                           Depends: ros-fuerte-geometry-experimental (= 0.2.3-s1347133731~precise) but it is not going to be installed
                           Depends: ros-fuerte-robot-model-visualization (= 0.1.2-s1347128386~precise) but it is not going to be installed
                           Depends: ros-fuerte-common-tutorials (= 0.2.3-s1348603925~precise) but it is not going to be installed
                           Depends: ros-fuerte-image-pipeline (= 1.8.5-s1348606087~precise) but it is not going to be installed
                           Depends: ros-fuerte-bfl (= 0.1.0-s1347124244~precise) but it is not going to be installed
                           Depends: ros-fuerte-diagnostics-monitors (= 1.4.3-s1347133511~precise) but it is not going to be installed
                           Depends: ros-fuerte-common-rosdeps (= 1.2.0-s1347122840~precise) but it is not going to be installed
                           Depends: ros-fuerte-geometry-visualization (= 0.1.1-s1347141454~precise) but it is not going to be installed
                           Depends: ros-fuerte-image-common (= 1.8.0-s1347133482~precise) but it is not going to be installed
                           Depends: ros-fuerte-bond-core (= 1.6.3-s1347128144~precise) but it is not going to be installed
                           Depends: ros-fuerte-python-qt-binding (= 0.1.9-s1348595482~precise) but it is not going to be installed
                           Depends: ros-fuerte-visualization-common (= 1.8.4-s1347128602~precise) but it is not going to be installed
                           Depends: ros-fuerte-physics-ode (= 1.8.0-s1347122907~precise) but it is not going to be installed
                           Depends: ros-fuerte-driver-common (= 1.4.0-s1347168681~precise) but it is not going to be installed
                           Depends: ros-fuerte-executive-smach (= 1.2.0-s1347133680~precise) but it is not going to be installed
                           Depends: ros-fuerte-stage (= 1.6.6-s1347133988~precise) but it is not going to be installed
                           Depends: ros-fuerte-dynamic-reconfigure (= 1.4.2-s1347168414~precise) but it is not going to be installed
                           Depends: ros-fuerte-image-transport-plugins (= 1.8.2-s1348606011~precise) but it ...
(more)
edit retag flag offensive close merge delete

Comments

1

apt-get should not be able to find any ROS packages as 12.10 is not supported. The entries you added to your sources.list will not entirely work. AFAIK you'll have to install from source. The build error you are getting can likely be fixed with sudo apt-get install liblog4cxx10-dev

jarvisschultz gravatar imagejarvisschultz ( 2012-09-30 14:30:12 -0600 )edit

@jarvisshultz please make an answer out of your comment. It's the correct answer.

Lorenz gravatar imageLorenz ( 2012-09-30 22:08:57 -0600 )edit

installing of the liblog4cxx10-dev helped for this error, but now i am: Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) but the bzip2 is already installed

sem gravatar imagesem ( 2012-09-30 22:26:45 -0600 )edit

For building from source, you will usually also need the -dev packages, not just the library.

dornhege gravatar imagedornhege ( 2012-10-01 04:07:04 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
6

answered 2012-10-01 05:31:38 -0600

Ubuntu 12.10 is not officially supported by ROS Fuerte (or any version of ROS). Which means that you will have to install from source. In order to compile ROS, your system will need many libraries that ROS is dependent on. I mentioned liblog4cxx10-dev and @dornhege mentioned libbz2-dev. It seems that the source install instructions for Ubuntu are a bit disorganized (IMO) the dependencies aren't really mentioned until section 1.7. The Debian source install page, for example, lists the dependencies right at the top of the page.

Regardless, installing all of the dependencies mentioned in either of these locations should help you continue on with the building process.

edit flag offensive delete link more
4

answered 2012-10-02 08:29:25 -0600

napratin gravatar image

I just finished installing ROS Fuerte from source on Ubuntu 12.10. Thought I should mention here. I basically followed the steps at: http://www.ros.org/wiki/fuerte/Installation/Ubuntu

I kept hitting the same "library not found" errors from CMake, and simply kept installing them one by one using apt-get, including boost (1.49.0), log4cxx, etc. Finally, CMake configuration completed without any errors (there were a few deprecation warnings, though - they seemed harmless). make and make install worked fine without any trouble.

Further along the installation steps, we need to use rosdep to install some "system dependencies" (it internally calls apt-get, as far as I understand). This is where I ran into a bunch of errors, because certain packages were not defined for quantal, e.g.:

image_view: No definition of [opencv2] for OS version [quantal]

There were entries for precise, however (as revealed by rosdep resolve opencv2), and I stumbled upon an undocumented option "--os" here: http://answers.ros.org/question/40081/rosdep-doesnt-recognize-os/

This worked for me, because I noticed that most of these package definitions referred to the same ROS package for multiple Ubuntu versions. From then on I passed in --os=ubuntu:precise to every rosdep call.

After this, rosmake -a is able to build almost all the ros packages. There was one recurring error amounting to Python not being able to locate module "roslib.manifest" that blocked a few packages from compiling, including any new packages that I wrote (from beginner tutorials, etc.). The solution to that was to find where the "roslib" directory (containing manifest.py) was located, and adding it to PYTHONPATH variable. On my system, I found it here:

/opt/ros/fuerte/lib/python2.7/dist-packages/roslib-1.8.9-py2.7.egg/

Note that /opt/ros/fuerte/lib/python2.7/dist-packages/ was already in PYTHONPATH, but apparently nested directories are not checked (I don't know if there is a way to enable that, or if ".egg" directories are supposed to be expanded out in their parent - anyone care to shed some light on this?). At this point, rosmake -a is able to build all packages, and a more specific command like rosmake <package-name> also works. The ros nodes run as expected. Now, I noticed there are some other ".egg"s in dist-packages, and I may have to include them explicitly in PYTHONPATH in the future.

Also, I cannot confirm that the complete installation is stable, since I overrode the OS parameter (--os=) with rosdep, but I haven't bumped into any problems yet.

edit flag offensive delete link more
0

answered 2013-02-05 11:38:05 -0600

this post is marked as community wiki

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

I got the same problem when I tried to install groovy on 12.10 on Feb 5, 2013. However, I noticed the same behavior when I tried to install Fuerte on a virtual machine on Ubuntu 12.04.

Since I got the same mistake on both distributions it makes me think there is an underlying dependency that needs to be fixed.

I am just not sure how to go about it. Any ideas?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-09-30 13:17:59 -0600

Seen: 3,865 times

Last updated: Feb 05 '13