"sudo rosmake" permission denied problem
Hello,
I'm trying to install the rgbdslam package and following the installation instructions here: http://www.ros.org/wiki/openni/Contes...
I've svn checked out "rgbdslam" and "hogman_minimal" packaged into my "/opt/ros/diamondback/stacks" directory.
When I try to issue the command "rosmake --rosdep-install rgbdslam" it gives an error mid-way into the installation saying "mkdir: cannot create directory `build': Permission denied". Naturally, I tried adding sudo infront of the command, but then I get the error "sudo: rosmake: command not found".
What is wrong?
Here are the lines from my bashrc file, in case this has to do with some incorrect environment paths:
source /opt/ros/diamondback/setup.bash export ROS_PACKAGE_PATH=/opt/ros/diamondback/stacks:$ROS_PACKAGE_PATH