<div dir="ltr">It should probably be a buildtool_depend, but either way using sudo inside CMake seems really wacky, how am I supposed to build this from source on a machine where I don't have sudo?<div><br></div><div style>
I am not sure if there is a better alternative, but you should consider separating the permissions settings and building. Ideally this would be a post install hook action or a manual step after building for source install.</div>
<div style><br></div><div style>Do other projects require sudo at build time for this sort of action?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 17, 2013 at 11:07 AM, Jack O'Quin <span dir="ltr"><<a href="mailto:jack.oquin@gmail.com" target="_blank">jack.oquin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Fri, May 17, 2013 at 12:50 PM, Tully Foote <span dir="ltr"><<a href="mailto:tfoote@osrfoundation.org" target="_blank">tfoote@osrfoundation.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">HI Russell, <div><br></div><div>The first answer is yes, if you need sudo you need to add it as a dependency.  The builds on the farm will only build with your declared dependencies. The prerelease has a minimal bootstrap which gives you command line capabilities for debugging presumably includes sudo for that purpose.)  You will probably also want to add a build-depend rosdep rule for libcap2-bin to make sure the setcap is installed.  </div>

</div></blockquote><div><br></div></div><div>Since they run on the build machine, shouldn't they use <buildtool_depend>? </div></div><span class="HOEnZb"><font color="#888888">-- <br> joq
</font></span></div></div>
<br>_______________________________________________<br>
Ros-release mailing list<br>
<a href="mailto:Ros-release@code.ros.org">Ros-release@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-release" target="_blank">https://code.ros.org/mailman/listinfo/ros-release</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>William Woodall<div>ROS Development Team</div><div><a href="mailto:william@osrfoundation.org" target="_blank">william@osrfoundation.org</a></div><div><a href="http://williamjwoodall.com/" target="_blank">http://williamjwoodall.com/</a></div>

</div>