On Fri, May 14, 2010 at 4:29 PM, Michael Styer wrote: > On 05/14/2010 02:21 PM, Jack O'Quin wrote: >> On Fri, May 14, 2010 at 4:15 PM, Michael Styer  wrote: >> >>> Thanks for the suggestion, Felix. I found the real problem just now, >>> though. I was running rosinstall under sudo, and sudo wasn't preserving >>> $ROS_ROOT, so rosinstall failed to create setup.sh. Adding env_keep=* to >>> the Defaults section in /etc/sudoers did the trick. >>> >> Running it under sudo is probably a bad idea. >> >> Why are you doing that? >> > Just because I'm installing it in /opt, which isn't world-writeable, > rather than ~, because my /home partition is kind of full. Of course > there are all kinds of ways around that, and 'sudo rosinstall' is only > one of them, I just happened to do it that way and couldn't figure out > for a bit why it didn't work. Stupid question. I misread your earlier post as "sudo rosrun" rather than "sudo rosinstall". Sorry for the noise. -- joq