Skip to content
Snippets Groups Projects
Commit 037487d9 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Mention libevent in more docs.

svn:r3913
parent 51f04b68
No related branches found
No related tags found
No related merge requests found
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
......
......@@ -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"
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment