ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Building ROS on Fedora 15

asked 2011-05-30 01:23:51 -0500

Skinkworks gravatar image

I am trying to build ROS on Fedora 15, and I get an error with rosmake:

Detected ros_comm bootstrapping it too.
  File "/home/user/ros/ros/bin/rosmake", line 46
    print "Rospack failed to build" 
SyntaxError: invalid syntax

When I looked into the issue, this is invalid syntax in 3.0 or higher, but I'm running 2.7. If I make my default python 3.2, then rosinstall doesn't even run:

Traceback (most recent call last):
  File "/usr/bin/rosinstall", line 4, in <module>
    import pkg_resources
ImportError: No module named pkg_resources

Is this a Fedora issue? Is this a python issue? How can I solve this?

edit retag flag offensive close merge delete


At least, I suspect it not to be a general fedora issue, I built ROS on Fedora 12 with python 2.6.2 and never saw that. But I really want to upgrade, and now as 15 is released, I hope there is a solution.
felix k gravatar image felix k  ( 2011-05-30 20:56:28 -0500 )edit

1 Answer

Sort by ┬╗ oldest newest most voted

answered 2011-06-17 11:22:17 -0500

Straszheim gravatar image

This is a python 2.6 vs 2.7 issue I'm pretty sure. Patches to rosmake are trickling in.

edit flag offensive delete link more

Question Tools


Asked: 2011-05-30 01:23:51 -0500

Seen: 341 times

Last updated: Jun 17 '11