aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL6
-rw-r--r--configure.in2
-rw-r--r--doc/tor-doc.html5
3 files changed, 12 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index de0210285..95a11a96c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,5 +1,7 @@
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
diff --git a/configure.in b/configure.in
index 56bb05c74..19ad3cbfd 100644
--- a/configure.in
+++ b/configure.in
@@ -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"
diff --git a/doc/tor-doc.html b/doc/tor-doc.html
index 258bf0465..a91cd7baf 100644
--- a/doc/tor-doc.html
+++ b/doc/tor-doc.html
@@ -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>