Comments on How To Compile rTorrent From SVN In Ubuntu 9.10 Karmic Koala / Debian 5 Lenny With Magnet Link Support
How To Compile rTorrent From SVN In Ubuntu 9.10 Karmic Koala / Debian 5 Lenny With Magnet Link Support rTorrent is a popular command line based bittorrent client. It provides very powerful features yet it is very light on the system - contrary to other bittorrent clients like Vuze. There are a couple of webinterfaces for it but they are not truly need. SSH access combined with the "screen" program provide you all the tools you need. This howto works for Ubuntu 9.10 Karmic Koala and for Debian 5 Lenny.
16 Comment(s)
Comments
Very good post, thanks a lot.
Indeed, great post :)
Great guide, thanks. You might want to update the svn checkout to manually specify revision 1105:
svn co svn://rakshasa.no/libtorrent/trunk --revision 1105
as the latest SVN trunk is revision 1110 which will fail to compile.
I just updated the howto. Added a custom patch that makes it work again in rev 1117 (and possibly older versions).
That makes my favourite BitTorrent client even better. Combined with rtGui (an rTorrent web interface), it's just awsome :)
rtorrent with colors and magnet links support is great.
Thank you for this howto and the developers of rtorrent :)
At step 22 I got: "rtorrent: XMLRPC not supported."
I had to back up to step 18 and do "./configure --with-xmlrpc-c" to fix it.
Looks like ovh.ttdpatch.net is down. Anyone have an alternate location for the patches. I did find magnet-hex-hash.diff in the google cache but none of the others.
this is my first time trying to comile anything and install so i may have done something wrong outside of this guide. i followed all of teh steps exactly and everythign was working fine until i issued the make command on step 19. this is the output from the make command
aaron@aaron-server:~/rtorrent/trunk/rtorrent$ make
make all-recursive
make[1]: Entering directory `/home/aaron/rtorrent/trunk/rtorrent'
Making all in doc
make[2]: Entering directory `/home/aaron/rtorrent/trunk/rtorrent/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/aaron/rtorrent/trunk/rtorrent/doc'
Making all in src
make[2]: Entering directory `/home/aaron/rtorrent/trunk/rtorrent/src'
Making all in core
make[3]: Entering directory `/home/aaron/rtorrent/trunk/rtorrent/src/core'
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT curl_socket.o -MD -MP -MF .deps/curl_socket.Tpo -c -o curl_socket.o curl_socket.cc
In file included from /usr/local/include/torrent/peer/peer_info.h:40,
from /usr/local/include/torrent/peer/peer.h:42,
from /usr/local/include/torrent/download.h:47,
from /usr/local/include/torrent/torrent.h:43,
from ./../control.h:44,
from curl_socket.cc:45:
/usr/local/include/torrent/hash_string.h:47:35: error: torrent/simple_string.h: No such file or directory
In file included from /usr/local/include/torrent/peer/peer_info.h:40,
from /usr/local/include/torrent/peer/peer.h:42,
from /usr/local/include/torrent/download.h:47,
from /usr/local/include/torrent/torrent.h:43,
from ./../control.h:44,
from curl_socket.cc:45:
/usr/local/include/torrent/hash_string.h:89: error: ‘SimpleString’ does not name a type
/usr/local/include/torrent/hash_string.h:102: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/local/include/torrent/hash_string.h: In static member function ‘static const torrent::HashString* torrent::HashString::cast_from(int)’:
/usr/local/include/torrent/hash_string.h:102: error: ‘src’ was not declared in this scope
make[3]: *** [curl_socket.o] Error 1
make[3]: Leaving directory `/home/aaron/rtorrent/trunk/rtorrent/src/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aaron/rtorrent/trunk/rtorrent/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aaron/rtorrent/trunk/rtorrent'
make: *** [all] Error 2
im not sure what went wrong any help would be much appreciated.
Better to ask in the forum and hit me up with a PM when you do so.
Als Is there any way by which my program (c program having inf_hash )
come to know that seeding of torrent against info_hash is started…….??
How to do this ?
Any Help would be aapretiated
I had to install this too in step 2 (using ubuntu 9.10 server) sudo apt-get install libxmlrpc-c3-dev to get the --with-xmlrpc-c flag for ./configure to work for rtorrent.
Thank a lot for your post! I used it myself and made translation for russian torrent tracker (http://rutracker.org/forum/viewtopic.php?t=2586225) rtorrent supports magnet url starting with r1144. Color patch is changed slightly, here it is for r1144-r1148 : http://garuda.newmail.ru/canvas-color_1146-1148.1.zip
Very helpful. Thanks!
I'm getting a 404 not found from wget when trying to download those patches, could they have been moved or renamed?
might think of adding libcppunit-dev to packages required to install if you run in to compilation problems of libtorrent