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

Revision history [back]

Why do you need to execute "make" as root?

When you do "sudo make" all the environment variables needed for ROS to work (set by /opt/ros/groovy/setup.bash) are not set any more, that is why rospack can not be found.

You should, either:

-Not run make as root (recommended)

or

-Set /opt/ros/groovy/setup.bash for the root user