<div dir="ltr">Arlo,<div><br></div><div>Thanks, I got the build working with a local build/path of libevent2, just as you described.  I used brew for the other dependencies.</div><div><br></div><div>I am able to run ./scripts/test/coverage coverage-output without problems, but running:</div>
<div>$ make coverage-html</div><div><br></div><div>Has the following problem: [<a href="http://0bin.net/paste/9DYCmagMbr8HNiw4#rtSQ-ia0BrOS1nzilEVu3dBlUKrenXGRyVXDIMiHaWK">http://0bin.net/paste/9DYCmagMbr8HNiw4#rtSQ-ia0BrOS1nzilEVu3dBlUKrenXGRyVXDIMiHaWK</a>]<br>
gcov doesn't have a -v switch, just -version (this was from lcov installed via $ brew install lcov)</div><div><br></div><div>I got chutney after a little bit of searching.  The documentation doesn't make clear that chutney is part of the tor projects, located here: [<a href="https://gitweb.torproject.org/chutney.git">https://gitweb.torproject.org/chutney.git</a>]</div>
<div><br></div><div>One of errors I get from running $ make test-network is:</div><div>./chutney: line 4: python2: command not found</div><div><br></div><div>This looks like a platform problem.  That's why I'm wondering if it's better to work on this code on some flavor of Linux system instead of osx.</div>
<div><br></div><div>Thanks,</div><div>Alan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 28, 2014 at 11:49 PM, Arlo Breault <span dir="ltr"><<a href="mailto:arlo@torproject.org" target="_blank">arlo@torproject.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try,<br>
<br>
  cd<br>
  mkdir testing<br>
  wget <a href="https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz" target="_blank">https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz</a><br>
  tar xzvf libevent-2.0.21-stable.tar.gz<br>
  cd libevent-2.0.21-stable<br>
  ./configure --prefix=$HOME/testing<br>
  make install<br>
  cd ..<br>
  git clone <a href="https://git.torproject.org/tor.git" target="_blank">https://git.torproject.org/tor.git</a><br>
  cd tor<br>
  ./autogen.sh<br>
  ./configure --prefix=$HOME/testing --with-libevent-dir=$HOME/testing<br>
  make install<br>
<br>
  ~/testing/bin/tor<br>
<br>
You may also consider using a package manager for dependencies, <a href="http://brew.sh/" target="_blank">http://brew.sh/</a><br>
<div><div class="h5"><br>
<br>
On Thu, Aug 28, 2014 at 9:33 AM, Alan Fay <<a href="mailto:emptyset@freesideatlanta.org">emptyset@freesideatlanta.org</a>> wrote:<br>
> Hello!<br>
><br>
> I'm trying to get a working build of Tor so I can learn more about working<br>
> on item "m. Improve test coverage in Tor".  Apologies ahead of time for<br>
> being green; this seemed to be the most accessible place to start<br>
> contributing...I read through doc/HACKING and I'm slowly working through<br>
> that.<br>
><br>
> I'm running osx 10.9.4.  I ran:<br>
><br>
> $ ./autogen.sh<br>
> $ ./configure<br>
> ...<br>
> checking for libevent directory... configure: WARNING: We found the<br>
> libraries for libevent, but we could not find the C header files.  You may<br>
> need to install a devel package.<br>
> configure: error: Missing headers; unable to proceed.<br>
><br>
> I installed libevent-2.0.21-stable from source, and then nickm on #tor-dev<br>
> helped me see some permissions issues in /usr/local/include/event2 and<br>
> /usr/local/lib/libevent* ; please see:<br>
> [<a href="http://0bin.net/paste/fuObUINKL1EOICf8#jJuGjo2wv65-7QNcHLGBcFPsNdAwhRlWmg6OWfzCuLC" target="_blank">http://0bin.net/paste/fuObUINKL1EOICf8#jJuGjo2wv65-7QNcHLGBcFPsNdAwhRlWmg6OWfzCuLC</a>]<br>
><br>
> I found reference to this error on the tor-relay mailing list here, but I<br>
> didn't get far with any of those suggested fixes, and it's also for osx<br>
> 10.4.  This is the first hit when I google the error:<br>
> [<a href="https://lists.torproject.org/pipermail/tor-relays/2012-January/001192.html" target="_blank">https://lists.torproject.org/pipermail/tor-relays/2012-January/001192.html</a>]<br>
><br>
> Thanks,<br>
> Alan<br>
><br>
</div></div>> _______________________________________________<br>
> tor-dev mailing list<br>
> <a href="mailto:tor-dev@lists.torproject.org">tor-dev@lists.torproject.org</a><br>
> <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a><br>
><br>
_______________________________________________<br>
tor-dev mailing list<br>
<a href="mailto:tor-dev@lists.torproject.org">tor-dev@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a><br>
</blockquote></div><br></div>