Installing

Building

./configure; make; make install

Building from latest development version (trunk)

(note: you need to have  SVN installed)

Before the first use, you have to get the latest trunk version. This needs to be done only once. In this example, the directory in which you store the sources is /home/rtorrent/trunk

cd /home/rtorrent
svn co svn://rakshasa.no/libtorrent/trunk

Then, everytime you want to update your copy and recompile libTorrent and rTorrent:

cd /home/rtorrent/trunk
svn up
cd libtorrent
./autogen.sh
./configure
make
make install
cd ../rtorrent
./autogen.sh
./configure
make
make install

(hint: you can put that in a file and run it everytime you want to recompile from trunk)

If it doesn't work, make sure you have a recent version of autotools. See also CompilationHelp.

libtorrent.so.5: cannot open shared object file: No such file or directory

Make sure you have $prefix/lib in either your /etc/ld.so.conf or LD_LIBRARY_PATH, where $prefix is where you installed libtorrent. To update the ld cache, run "ldconfig".

Non-blocking hostname lookup in curl

RTorrent will block on hostname lookup during tracker requests and http downloads. You can avoid this by compiling libcurl with 'cares' support, though this will be fixed later by using seperate threads within rTorrent.