[tor-dev] problems building on osx 10.9.4

Arlo Breault arlo at torproject.org
Fri Aug 29 03:49:37 UTC 2014


Try,

  cd
  mkdir testing
  wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
  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
  ./autogen.sh
  ./configure --prefix=$HOME/testing --with-libevent-dir=$HOME/testing
  make install

  ~/testing/bin/tor

You may also consider using a package manager for dependencies, http://brew.sh/


On Thu, Aug 28, 2014 at 9:33 AM, Alan Fay <emptyset at freesideatlanta.org> wrote:
> Hello!
>
> I'm trying to get a working build of Tor so I can learn more about working
> 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 may
> 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 #tor-dev
> helped me see some permissions issues in /usr/local/include/event2 and
> /usr/local/lib/libevent* ; please see:
> [http://0bin.net/paste/fuObUINKL1EOICf8#jJuGjo2wv65-7QNcHLGBcFPsNdAwhRlWmg6OWfzCuLC]
>
> 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:
> [https://lists.torproject.org/pipermail/tor-relays/2012-January/001192.html]
>
> Thanks,
> Alan
>
> _______________________________________________
> tor-dev mailing list
> tor-dev at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
>


More information about the tor-dev mailing list