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), these steps are already done for you, and you may even already have Tor started in the background (logging to /var/log/something).

+

For newer releases: To build Tor version 0.1.0.1-rc or later from +source, you will need Niels Provos's libevent library; you can get +the source for the latest version +here +

In any case, see the next section for what to do with it now that you've got it running.