torSo copper.unitinu.net is now running a Tor relay. Since there's nothing else running on that box, Tor is happily soaking up ten megabits a second. How did I do it, you ask?
First I downloaded the tor and libevent sources.
Then I unpacked the archives, ran the makefiles, etc. But tor errored out during configuration!
[root@copper ~]#wget http://www.monkey.org/~provos/libevent-1.3e.tar.gz
[root@copper ~]#wget http://www.torproject.org/dist/tor-0.1.2.19.tar.gz
Since libevent installed correctly, I guessed that tor couldn't find the libraries. Googling the error message googlewhacked on another fellow with the same problem, which he solved by setting LD_LIBRARY_PATH to /usr/local/lib. So I, you know, did that.
checking whether we need extra options to link libevent... configure: error: Found linkable libevent in (system), but it doesn't run, even with -R. Maybe specify another using --with-libevent-dir?
That was easy! Kinda.
[root@copper tor-0.1.2.19]# export LD_LIBRARY_PATH=/usr/local/lib
[root@copper tor-0.1.2.19]# ./configure && make
output removed, but it worked! too bad make doesn't give a completion message.
Posted by Samuel Bierwagen | Permanent link | File under: Linux