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

problem installing ros in fedora 13

asked 2012-01-01 21:32:17 -0600

tsantos gravatar image

updated 2014-04-20 14:06:44 -0600

ngrennan gravatar image

Hi,

I'm trying to install ROS Electric in Linux Fedora 13, and I get the error below.
Someone experiencing the same? What I'm doing wrong?
I followed the Fedora Installation Instructions, and already had ROS installed in other machine and everything went fine, but I realy need this in Fedora 13.

Bootstrapping ROS build
Detected ros_comm bootstrapping it too.
/root/ros/ros/bin/rosmake:62: Warning: 'with' will become a reserved keyword in Python 2.6
File "/root/ros/ros/bin/rosmake", line 62 with rosmake.Printer(): ^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/usr/bin/rosinstall", line 5, in <module> pkg_resources.run_script('rosinstall==0.5.22', 'rosinstall')
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 467, in run_script self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1200, in run_script execfile(script_filename, namespace, namespace)
File "/usr/lib/python2.6/site-packages/rosinstall-0.5.22-py2.6.egg/EGG-INFO/scripts/rosinstall", line 679, in <module> sys.exit(not rosinstall_main(sys.argv))
File "/usr/lib/python2.6/site-packages/rosinstall-0.5.22-py2.6.egg/EGG-INFO/scripts/rosinstall", line 670, in rosinstall_main
subprocess.check_call("source %s && rosmake ros%s --rosdep-install%s" % (os.path.join(options.path, 'setup.sh'), ros_comm_insert, rosdep_yes_insert), shell=True, executable='/bin/bash')
File "/usr/lib/python2.6/subprocess.py", line 488, in check_call raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'source /root/ros/setup.sh && rosmake ros ros_comm --rosdep-install' returned non-zero exit status 1

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2012-01-02 06:13:37 -0600

tfoote gravatar image

ROS Electric is designed to work with Python 2.6, which I believe is also the default for Fedora 13. See REP 3

Based on your error message you're running an older version of python which is going to be a big challenge, needing to patch many files.

edit flag offensive delete link more
0

answered 2012-01-03 03:06:23 -0600

tsantos gravatar image

Thanks for answer.

For some reason I have installed python2.5 and python2.6, so to use python2.6 I need a hard link, and everything went good.

ln -f /usr/bin/python2.6 /usr/local/bin/python
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-01-01 21:32:17 -0600

Seen: 383 times

Last updated: Jan 03 '12