From 5028a52b54a7123e9dccc3271c8801c7dbde05d6 Mon Sep 17 00:00:00 2001 From: rl1987 Date: Tue, 3 Jul 2018 16:33:07 +0300 Subject: [PATCH] Remove old instructions from INSTALL --- INSTALL | 34 ---------------------------------- changes/doc26588 | 3 +++ 2 files changed, 3 insertions(+), 34 deletions(-) create mode 100644 changes/doc26588 diff --git a/INSTALL b/INSTALL index ddb790b0b1..f493f4ed3d 100644 --- a/INSTALL +++ b/INSTALL @@ -16,37 +16,3 @@ If it doesn't build for you: ./configure --with-libevent-dir=/usr/local rather than simply ./configure. - If you have mysterious autoconf failures while linking openssl, - consider setting your LD_LIBRARY_PATH to the openssl lib directory. - For example, "setenv LD_LIBRARY_PATH /usr/athena/lib". - - Lastly, check out - https://www.torproject.org/docs/faq#DoesntWork - -How to do static builds of tor: - -Tor supports linking each of the libraries it needs statically. Use the ---enable-static-X ./configure option in conjunction with the --with-X-dir -option for libevent, zlib, and openssl. For this to work sanely, libevent -should be built with --disable-shared --enable-static --with-pic, and -OpenSSL should be built with no-shared no-dso. - -If you need to build tor so that system libraries are also statically linked, -use the --enable-static-tor ./configure option. This won't work on OS X -unless you build the required crt0.o yourself. It is also incompatible with -the --enable-gcc-hardening option. - -An example of how to build a mostly static tor: -./configure --enable-static-libevent \ - --enable-static-openssl \ - --enable-static-zlib \ - --with-libevent-dir=/tmp/static-tor/libevent-1.4.14b-stable \ - --with-openssl-dir=/tmp/static-tor/openssl-0.9.8r/ \ - --with-zlib-dir=/tmp/static-tor/zlib-1.2.5 - -An example of how to build an entirely static tor: -./configure --enable-static-tor \ - --with-libevent-dir=/tmp/static-tor/libevent-1.4.14b-stable \ - --with-openssl-dir=/tmp/static-tor/openssl-0.9.8r/ \ - --with-zlib-dir=/tmp/static-tor/zlib-1.2.5 - diff --git a/changes/doc26588 b/changes/doc26588 new file mode 100644 index 0000000000..4b67bdb035 --- /dev/null +++ b/changes/doc26588 @@ -0,0 +1,3 @@ + o Documentation: + - Remove old instructions from INSTALL document. Closes + ticket 26588.