Tully, <div><br></div><div>I tried that, and rosdep seems to hang. I get the following output: </div><div><br></div><div>{{{</div><div><div>dyn137-110-111-179:geometry rubinet$ rosdep install camera1394</div><div>executing this script:</div>
<div> set -o errexit</div><div>#Packages</div><div>sudo port install libdc1394</div><div># No rule for glut</div><div><br></div><div>}}}</div><div><br></div><div><br></div><div>And then nothing happens. I am not asked for my password for the sudo command. Note that "sudo rosdep install" also fails, I think because rosbash is not set up for su: </div>
<div><br></div><div>{{{</div><div><div>dyn137-110-111-179:geometry rubinet$ sudo rosdep install camera1394</div><div>Traceback (most recent call last):</div><div>  File "/Users/rubinet/ros/cturtle/ros/bin/rosdep", line 34, in <module></div>
<div>    from ros import rosdep</div><div>ImportError: No module named ros</div><div>dyn137-110-111-179:geometry rubinet$ </div></div><div>}}}</div><div><br></div><div>--Nick </div><div><br></div></div><div><br></div><div>
<br><div class="gmail_quote">On Fri, Jan 14, 2011 at 9:09 AM, Tully Foote <span dir="ltr"><<a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Nick, <br><br>Can you make sure to put a line like this in the geometry rosdep.yaml:<br><br>{{{<br>glut: <br>  ...<br>  macports: |<br>    # No rule for glut<br>}}}<br><br>Rosdep requires a multiline expression to interpret it as a script.  <br>


<br>bullet, a dependency of camera1394 and uses glut.  <br><br>Tully<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Jan 14, 2011 at 8:41 AM, Nicholas Butko <span dir="ltr"><<a href="mailto:nbutko@ucsd.edu" target="_blank">nbutko@ucsd.edu</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Jack, that patch looks exactly right. However, I am getting strange behavior. <div><br></div>

<div>When I *haven't* applied the patch, this is my output: </div><div><br></div><div><div>dyn137-110-111-179:camera1394 rubinet$ rosdep install camera1394</div>
</div><div>Failed to find rosdep glut for package camera1394 on OS:macports version:macports</div><div><div>Failed to find rosdep libdc1394-dev for package camera1394 on OS:macports version:macports</div><div>ERROR: ABORTING: Rosdeps [u'glut', u'libdc1394-dev'] could not be resolved</div>



</div><div><br></div><div>When I *have* applied the patch, this is my output: </div><div><br></div><div><div>dyn137-110-111-179:camera1394 rubinet$ rosdep install camera1394</div><div>Failed to find rosdep glut for package camera1394 on OS:macports version:macports</div>



<div>ERROR: ABORTING: Rosdeps [u'glut'] could not be resolved</div></div><div><br></div><div>I tried to fix this by adding an empty macports entry (macports: |) to everywhere that rosdep.yaml has "glut". From my investigation, this only seems to happen in the geometry package. Yet the problem persists.</div>



<div><br></div><div>Another strange thing is that I get the same behavior *regardless of whether libdc1394 is installed* (It is easy to uninstall and reinstall). </div><div><br><div>--Nick <div><div></div><div>

<br><br><div class="gmail_quote">
On Fri, Jan 14, 2011 at 8:00 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:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">



<div>On Thu, Jan 13, 2011 at 3:21 PM, Nicholas Butko <<a href="mailto:nbutko@ucsd.edu" target="_blank">nbutko@ucsd.edu</a>> wrote:<br>
> I may be able to try something out for you. I'll take a look later today.<br>
<br>
</div>Nick,<br>
<br>
Would you try adding this to the rosdep.yaml in the camera_drivers<br>
stack? Then, see if "rosdep install camera1394" does something<br>
sensible? The patch should work with both cturtle and unstable.<br>
<br>
Can someone who has a Mac *without* libdc1394 installed run the same<br>
test and report whether the library installs correctly? (You don't<br>
need a camera to run that test.)<br>
<br>
Index: rosdep.yaml<br>
===================================================================<br>
--- rosdep.yaml (revision 35214)<br>
+++ rosdep.yaml (working copy)<br>
@@ -12,6 +12,7 @@<br>
   ubuntu: libdc1394-22-dev<br>
   arch: libdc1394<br>
   fedora: libdc1394-devel<br>
+  macports: libdc1394<br>
<br>
 gforth:<br>
   ubuntu: gforth<br>
<div><div></div><div>--<br>
 joq<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com" target="_blank">tfoote@willowgarage.com</a><br>
(650) 475-2827<br>
</font><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>