y23
17th July 2008, 08:58
Hi! I am trying to have a DHT capable torrent ncurses client.
rtorrent (http://libtorrent.rakshasa.no/wiki/RTorrentUsingDHT") seems right ...
apt-get from the testing branch as described here (http://osdir.com/ml/network.bit-torrent.rtorrent.devel/2006-10/msg00023.html)
only installed an older version without dht :-(
(and I had to add a apt.conf as described here (http://www.derstappen-it.de/dokumentationen/debian-gnu-linux/dynamic-mmap-ran-out-of-room-bei-apt-beheben/))
So, I followed the instructions on
http://www.howtoforge.com/compile-rtorrent-from-svn-ubuntu-8.04-hardy-heron
and here is where I got stuck
9. Configure it
error missing openssl... fixed it, I had to add
apt-get install libcurl3-openssl-dev
10. Compile libtorrent
make FAILS! Here is what it says:
g++ .... -c file_list_iterator.cc -fPIC -DPIC -o .libs/file_list_iterator.o
In file included from file_list_iterator.cc:42:
file_list_iterator.h: In member function 'uint32_t torrent::FileListIterator::depth() const':
file_list_iterator.h:64: error: 'abs' is not a member of 'std'
make[3]: *** [file_list_iterator.lo] Error 1
make[3]: Leaving directory `/home/norb/rtorrent/trunk/libtorrent/src/torrent/data'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/norb/rtorrent/trunk/libtorrent/src/torrent'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/norb/rtorrent/trunk/libtorrent/src'
make: *** [install-recursive] Error 1
Found this hint ("you need to apply a patch"): http://bbs.archlinux.org/viewtopic.php?id=50562
I have gcc version 4.3.1 (Debian 4.3.1-2)
is this the correct patch?
http://www.mail-archive.com/hk-classes-discuss@lists.sourceforge.net/msg00171.html
and what are the commands to apply a patch?
rtorrent (http://libtorrent.rakshasa.no/wiki/RTorrentUsingDHT") seems right ...
apt-get from the testing branch as described here (http://osdir.com/ml/network.bit-torrent.rtorrent.devel/2006-10/msg00023.html)
only installed an older version without dht :-(
(and I had to add a apt.conf as described here (http://www.derstappen-it.de/dokumentationen/debian-gnu-linux/dynamic-mmap-ran-out-of-room-bei-apt-beheben/))
So, I followed the instructions on
http://www.howtoforge.com/compile-rtorrent-from-svn-ubuntu-8.04-hardy-heron
and here is where I got stuck
9. Configure it
error missing openssl... fixed it, I had to add
apt-get install libcurl3-openssl-dev
10. Compile libtorrent
make FAILS! Here is what it says:
g++ .... -c file_list_iterator.cc -fPIC -DPIC -o .libs/file_list_iterator.o
In file included from file_list_iterator.cc:42:
file_list_iterator.h: In member function 'uint32_t torrent::FileListIterator::depth() const':
file_list_iterator.h:64: error: 'abs' is not a member of 'std'
make[3]: *** [file_list_iterator.lo] Error 1
make[3]: Leaving directory `/home/norb/rtorrent/trunk/libtorrent/src/torrent/data'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/norb/rtorrent/trunk/libtorrent/src/torrent'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/norb/rtorrent/trunk/libtorrent/src'
make: *** [install-recursive] Error 1
Found this hint ("you need to apply a patch"): http://bbs.archlinux.org/viewtopic.php?id=50562
I have gcc version 4.3.1 (Debian 4.3.1-2)
is this the correct patch?
http://www.mail-archive.com/hk-classes-discuss@lists.sourceforge.net/msg00171.html
and what are the commands to apply a patch?