PDA

View Full Version : help with debian + rtorrent setup



dunson
07-08-2008, 05:23 PM
I've done this once before several months ago, but it took hours and hours. I know a bit more about linux since going through that first experience, but I can't seem to get my new Leaseweb server set up properly. I followed a tutorial and searched around several sites, but honestly I'm so frustrated with the whole thing that I have decided to seek help.

I'm trying to install rTorrent in Debian 4.0 (stable). I used this formula to install libsigc, libcurl, libtorrent, and rtorrent
cd /usr/local/src
wget http://libtorrent.rakshasa.no/downloads/rtorrent (http://www.scenetorrents.org/out.php?url=http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.6.tar.gz)
tar -zxvf rtorrent-0.7.9.tar.gz
cd rtorrent
./configure -prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
make
make install

Make and make install don't work (I tried them alone and with rtorrent-0.7.9 added on) but all the rest seemed to do fine, except rtorrent comes back, no ncurses library! So I guess these things aren't compiled properly.

So, if anyone can help me out here or is willing to get their hands dirty and be trusted with root access to help me set this up, I'd really appreciate it and would repay you in whatever way I can. Maybe some time on the box or an invite to a rare site or pics of my exgirlfriend or some money via paypal, whatever you want.

Basically all that needs to be done is just compiling rtorrent from the tar.gz I have already, an sftp server and if possible wtorrent would be a big plus. But even just installing rtorrent would be huge. I'd love to get it set up today so please help me out.

kross
07-08-2008, 06:34 PM
What did you mean by "don't work"?
Is the make command missing?
If it's the case, just try "apt-get install make".

If you want, you can look at this tutorial: http://shinra.ovh.org/viewtopic.php?id=2
That's a guide I'm working on. the part named "4) Set up wTorrent" is not finished. But it will help you to compile and install rTorrent at least.

dunson
07-08-2008, 07:08 PM
Bah I suck at this. Now I have installed some of these packages a couple of times (so they just don't get upgraded, but now I cannot find anything. Like, I used your guide to install a bunch of packages, but where did they go? I guess I just don't get linux.

c0njur
07-08-2008, 07:35 PM
Here (http://flipsidereality.com/blog/linux/rtorrent-with-wtorrent-on-debian-etch-complete-howto/) is a good guide to installing rtorrnt+wtorrent on debian etch.

Im no linux expert but have you tried (as su)
apt-get install rtorrent ?

Edit: Just tried and it worked for me. Installed rtorrent and libtorrent9

dunson
07-08-2008, 07:40 PM
Of course, I tried apt-get for a while but that didn't work without having the supporting programs installed. I redid that but that just now to try again, which got me v. 6.4. So I need to find a better repository, which I can't remember where that was (I wish Google would turn up the old tutorial that got me through it all the first time around).
I'm sorry for posting such a dumb thread I'll just keep bashing my head against a wall to figure this out when I'm not in my office... enjoy the noobness.

Edit: Seems to be working better now...found my original package of rtorrent and libtorrent and am using that now...make works or seems to. Thanks

c0njur
07-08-2008, 07:56 PM
Just in case make still doesnt work for you, here are the repositories that enabled apt-get install rtorrent:


deb http://ftp.us.debian.org/debian/ etch main
deb-src http://ftp.us.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib

deb http://mirrors.kernel.org/debian etch main non-free
apt-get install rtorrent
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libtorrent9
The following NEW packages will be installed:
libtorrent9 rtorrent
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 621kB of archives.
After unpacking 1696kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.us.debian.org (http://ftp.us.debian.org/) etch/main libtorrent9 0.10.4-1 [293kB]
Get:2 http://ftp.us.debian.org (http://ftp.us.debian.org/) etch/main rtorrent 0.6.4-1 [328kB]

dunson
07-08-2008, 08:53 PM
OK, got most everything setup, just having issues getting xmlrpc installed. Can't find the directory where that installs...found that, just won't configure. SHit I suck.

Why won't rtorrent start without it? :/

Edit: I think I got that. I'm learning quite a bit.


Well, I am stuck again with the xmlrpc. Make has error, maybe I found the wrong version :/

crumble6
07-08-2008, 09:26 PM
Try this:



cd

svn co https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced xmlrpc-c

cd xmlrpc-c/

./configure --disable-cplusplus

make

make install
Source: http://flipsidereality.com/blog/linux/rtorrent-with-wtorrent-on-debian-etch-complete-howto/

dunson
07-08-2008, 09:30 PM
It is making everything find but rtorrent still says xmlrpc not supported...

I'm rebooting to see if that helps idk

crumble6
07-08-2008, 10:58 PM
When you configured rtorrent did you add the --with-xmlrpc-c?

dunson
07-09-2008, 02:38 AM
Wow, I missed that at first. Thanks so much! :D

You guys are all awesome. Karma points for you all. :D :fst: