Commit 037487d9 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Mention libevent in more docs.


svn:r3913
parent 51f04b68
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
Quickstart version for users:

-1) If you don't have libevent, install it.  Source is at
    http://www.monkey.org/~provos/libevent/ .
0) Download the absolute newest version. No, really.
  http://tor.eff.org/dist/
1) tar xvf it, and then cd into the directory.
@@ -42,6 +44,10 @@ If you got the source from cvs:

If the quickstart doesn't work for you:

  Starting with Tor 0.1.0.0, Tor uses libevent for its asynchronous
  networking core.  If you don't have libevent, you'll need to install it.
  You can get it at http://www.monkey.org/~provos/libevent/.

  If you have problems finding libraries, try
    CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" \
    ./configure
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ AC_SEARCH_LIBS(socket, [socket])
AC_SEARCH_LIBS(gethostbyname, [nsl])
AC_SEARCH_LIBS(pthread_create, [pthread])
AC_SEARCH_LIBS(pthread_detach, [pthread])
AC_SEARCH_LIBS(event_loop, [event], , AC_MSG_ERROR(Libevent library not found. Tor requires libevent to build.))
AC_SEARCH_LIBS(event_loop, [event], , AC_MSG_ERROR(Libevent library not found. Tor requires libevent to build.  You can get the latest version of libevent at http://www.monkey.org/~provos/libevent/ ))

saved_LIBS="$LIBS"
saved_LDFLAGS="$LDFLAGS"
+5 −0
Original line number Diff line number Diff line
@@ -173,6 +173,11 @@ package</a>), these steps are already done for you, and you may
even already have Tor started in the background (logging to
/var/log/something).</p>

<p><b>For newer releases</b>: To build Tor version 0.1.0.1-rc or later from
source, you will need Niels Provos's <tt>libevent</tt> library; you can get
the source for the latest version
<a href="http://www.monkey.org/~provos/libevent/">here</a></a>

<p>In any case, see the <a href="#client">next section</a> for what to
<i>do</i> with it now that you've got it running.</p>