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

On OSX, rosmake -a could not find roslib

asked 2012-10-08 13:27:54 -0500

Qianyi Zhou gravatar image

updated 2012-10-08 13:32:01 -0500

Kevin gravatar image

I am trying to install ROS Fuerte on OSX 10.8.2 Mountain Lion. I followed the step-by-step instructions on: It was all successful (with a few modifications though) until I get to run:

sudo rosmake -a

Python reports roslib (1.8.9) not found. Anyone can help me trouble shooting that?

dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid Traceback (most recent call last): File "/opt/ros/fuerte/bin/rosmake", line 4, in <module> import pkg_resources File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/", line 2603, in <module> working_set.require(__requires__) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/", line 565, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: roslib==1.8.9

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-10-08 13:35:07 -0500

Kevin gravatar image

updated 2012-10-08 15:23:08 -0500

Did you try this?

edit flag offensive delete link more

answered 2012-10-08 13:59:44 -0500

Qianyi Zhou gravatar image

updated 2012-10-08 14:00:27 -0500

Thanks for the reply. I followed the instructions on that page, but still got the same error if I use sudo. If I directly use "rosmake -a" without sudo, then I get a bunch of "Permission denied" such as:

[ rosmake ] Logging to directory /Users/qianyizh/.ros/rosmake/rosmake_output-20121008-165503
Traceback (most recent call last):

File "/opt/ros/fuerte/lib/python2.7/site-packages/roslib-1.8.9-py2.7.egg/EGG-INFO/scripts/rosmake", line 55, in <module>

File "build/bdist.macosx-10.8-intel/egg/rosmake/", line 733, in main


File "build/bdist.macosx-10.8-intel/egg/rosmake/", line 82, in makedirs_with_parent_perms


File "build/bdist.macosx-10.8-intel/egg/rosmake/", line 84, in makedirs_with_parent_perms


OSError: [Errno 13] Permission denied: '/Users/qianyizh/.ros/rosmake'

btw: I can find roslib in python, it is at: /opt/ros/fuerte/lib/python2.7/site-packages/roslib-1.8.9-py2.7.egg/

edit flag offensive delete link more


OK, I fixed this by reclaiming the ownership of "~/.ros/" by "sudo chown". It is wired why I did not own this directory though.

Qianyi Zhou gravatar image Qianyi Zhou  ( 2012-10-08 14:30:08 -0500 )edit

There are, however, still other issues. I agree that Fuerte on OSX is buggy. Maybe I should switch to Ubuntu at the first place...

Qianyi Zhou gravatar image Qianyi Zhou  ( 2012-10-08 14:31:16 -0500 )edit

Around the Oct 15th, Groovy should come out and it is supposed to fix a lot of these issues. If you can, maybe hold off until then :)

Kevin gravatar image Kevin  ( 2012-10-08 15:21:57 -0500 )edit

Kevin, that is great news, though I won't be too optimistic (compatibility is a headache to everyone). But thanks for the hard work! I am going to try ubuntu first, and definitely try Groovy on OSX once it is released.

Qianyi Zhou gravatar image Qianyi Zhou  ( 2012-10-08 15:29:24 -0500 )edit

Please do not create answers just for updates or discussion. This is not like a normal forum. Instead please edit your original question or use the comment functionality.

Lorenz gravatar image Lorenz  ( 2012-10-08 22:32:13 -0500 )edit

Question Tools

1 follower


Asked: 2012-10-08 13:27:54 -0500

Seen: 409 times

Last updated: Oct 08 '12