[tor-dev] problems building on osx 10.9.4
emptyset at freesideatlanta.org
Fri Aug 29 17:29:30 UTC 2014
Thanks, I got the build working with a local build/path of libevent2, just
as you described. I used brew for the other dependencies.
I am able to run ./scripts/test/coverage coverage-output without problems,
$ make coverage-html
Has the following problem: [
gcov doesn't have a -v switch, just -version (this was from lcov installed
via $ brew install lcov)
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: [
One of errors I get from running $ make test-network is:
./chutney: line 4: python2: command not found
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.
On Thu, Aug 28, 2014 at 11:49 PM, Arlo Breault <arlo at torproject.org> wrote:
> mkdir testing
> tar xzvf libevent-2.0.21-stable.tar.gz
> cd libevent-2.0.21-stable
> ./configure --prefix=$HOME/testing
> make install
> cd ..
> git clone https://git.torproject.org/tor.git
> cd tor
> ./configure --prefix=$HOME/testing --with-libevent-dir=$HOME/testing
> make install
> You may also consider using a package manager for dependencies,
> On Thu, Aug 28, 2014 at 9:33 AM, Alan Fay <emptyset at freesideatlanta.org>
> > Hello!
> > I'm trying to get a working build of Tor so I can learn more about
> > on item "m. Improve test coverage in Tor". Apologies ahead of time for
> > being green; this seemed to be the most accessible place to start
> > contributing...I read through doc/HACKING and I'm slowly working through
> > that.
> > I'm running osx 10.9.4. I ran:
> > $ ./autogen.sh
> > $ ./configure
> > ...
> > checking for libevent directory... configure: WARNING: We found the
> > libraries for libevent, but we could not find the C header files. You
> > need to install a devel package.
> > configure: error: Missing headers; unable to proceed.
> > I installed libevent-2.0.21-stable from source, and then nickm on
> > helped me see some permissions issues in /usr/local/include/event2 and
> > /usr/local/lib/libevent* ; please see:
> > [
> > I found reference to this error on the tor-relay mailing list here, but I
> > didn't get far with any of those suggested fixes, and it's also for osx
> > 10.4. This is the first hit when I google the error:
> > [
> > Thanks,
> > Alan
> > _______________________________________________
> > tor-dev mailing list
> > tor-dev at lists.torproject.org
> > https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
> tor-dev mailing list
> tor-dev at lists.torproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tor-dev