Looks like the way brew is linking it or using libtool causes the <a href="http://libgtest.la">libgtest.la</a> file to never be created, because installing manually from source works for me.  I filed a ticket on Homebrew's github here: <a href="https://github.com/mxcl/homebrew/issues/7009">https://github.com/mxcl/homebrew/issues/7009</a><div>

<br></div><div>In the mean time I have created a sourcedep for it and when it is fixed by homebrew I will switch to using that again.  The latest patches should work.</div><div><br></div><div>Also as a side note for others, I find it useful to make a copy of ~/ros before the patching step (something like cp -r ~/ros ~/clean_ros) so I can test new patches without downloading a new ros each time.  I use this: `rm -rf ~/ros; cp -r ~/clean_ros ~/ros` to "reset" my ros.</div>

<div><br></div><div>Let me know if that works, </div><div><br clear="all">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>William Woodall<br>Graduate Software Engineering<br>Auburn University<br><a href="mailto:w@auburn.edu" target="_blank">w@auburn.edu</a><br>

<a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a><div><a href="http://williamjwoodall.com" target="_blank">williamjwoodall.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><br>
<br><br><div class="gmail_quote">On Sun, Aug 14, 2011 at 3:57 PM, William Woodall <span dir="ltr"><<a href="mailto:wjwwood@gmail.com">wjwwood@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I had not tested them, but I can confirm that doesn't work for me either.  I have had weird stuff happen to me on OS X with gtest before, this is something we'll have to investigate.<div><div><br></div><div>Thanks,</div>


</div><div><div class="im"><br clear="all">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>William Woodall<br>Graduate Software Engineering<br>Auburn University<br><a href="mailto:w@auburn.edu" target="_blank">w@auburn.edu</a><br><a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a><div>


<a href="http://williamjwoodall.com" target="_blank">williamjwoodall.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Sun, Aug 14, 2011 at 2:58 PM, Ken Conley <span dir="ltr"><<a href="mailto:kwc@willowgarage.com" target="_blank">kwc@willowgarage.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for putting this together.<br>
<br>
On your setup, are the tests working?  I'm having trouble getting<br>
rosbuild to work with the gtest provided by brew.  I've seen this same<br>
error on two different OS X machines (Lion, Snow Leopard), though I<br>
haven't reset things to go through your instructions step by step:<br>
<br>
(output snippet, e.g. 'roscd test_roslib; make test')<br>
<br>
make[4]: *** No rule to make target `/usr/local/lib/<a href="http://libgtest.la" target="_blank">libgtest.la</a><br>
-D_THREAD_SAFE', needed by `../test_package'.<br>
make[4]: Target `CMakeFiles/test_package.dir/build' not remade because<br>
of errors.<br>
make[3]: *** [CMakeFiles/test_package.dir/all] Error 2<br>
[  0%] Built target clean-test-results<br>
make[4]: *** No rule to make target `/usr/local/lib/<a href="http://libgtest.la" target="_blank">libgtest.la</a><br>
-D_THREAD_SAFE', needed by `../test/utest'.<br>
make[4]: Target `CMakeFiles/test/utest.dir/build' not remade because of errors.<br>
make[3]: *** [CMakeFiles/test/utest.dir/all] Error 2<br>
make[3]: Target `CMakeFiles/test.dir/all' not remade because of errors.<br>
make[2]: *** [CMakeFiles/test.dir/rule] Error 2<br>
make[2]: Target `test' not remade because of errors.<br>
make[1]: *** [test] Error 2<br>
<div><div></div><div><br>
<br>
On Sun, Aug 14, 2011 at 12:48 PM, William Woodall <<a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a>> wrote:<br>
> Hi everyone, I just wanted to let everyone know that we (my colleagues and<br>
> I) have started an effort to document and fix any issues related installing<br>
> ROS Electric Emys on OS X 10.7 Lion using Homebrew instead of Macports.  We<br>
> are creating documentation and patches as we go in our <a href="http://github.com" target="_blank">github.com</a> repository<br>
> located here:<br>
> Instructions: <a href="https://github.com/wjwwood/ros-osx/blob/master/electric-lion-homebrew/README.md" target="_blank">https://github.com/wjwwood/ros-osx/blob/master/electric-lion-homebrew/README.md</a><br>
> Repository: <a href="https://github.com/wjwwood/ros-osx" target="_blank">https://github.com/wjwwood/ros-osx</a><br>
> The instructions linked above walk through setting up ROS Electric on a<br>
> clean Lion install using the Homebrew (<a href="http://mxcl.github.com/homebrew/" target="_blank">http://mxcl.github.com/homebrew/</a>)<br>
> package management system.  I would encourage anyone who is interested to<br>
> give it a try and report any problems you run into either on this mailing<br>
> list or as an issue on the github<br>
> site: <a href="https://github.com/wjwwood/ros-osx/issues" target="_blank">https://github.com/wjwwood/ros-osx/issues</a>.  We would also welcome any<br>
> help in the form of resolving issues, documentation, and patches.<br>
> Currently, the ros, ros_comm, common_msgs, and geometry stacks are known to<br>
> work.  This includes some pretty commonly used packages like most of the<br>
> command line tools and tf.  We will be continuously updating this repository<br>
> so keep an eye on it if you are looking for something specific.<br>
> Thanks,<br>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> William Woodall<br>
> Graduate Software Engineering<br>
> Auburn University<br>
> <a href="mailto:w@auburn.edu" target="_blank">w@auburn.edu</a><br>
> <a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a><br>
> <a href="http://williamjwoodall.com" target="_blank">williamjwoodall.com</a><br>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
><br>
</div></div>> _______________________________________________<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>
><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>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>