rtorrent w/ xmlrpc support on NSLU2

Notice

This article isn't finished yet. I gathered all information and steps to a small draft. Soon, after I've finished all testes especially the xmlrpc interface, I will go over it again.
I am using a Debian installation (Read this article on chimeric.de for further information) on my (N)SLUg, but I am not doing it the “debian-way”. I am not using tools like dh_make. May be later, so I could provide you some .deb files

What you need

  • A NSLU2.
  • A Linux installed on your SLUg where you have full shell access.
  • GCC 3.4 on your SLUg.
  • Patience, it will take at least one and a half day…

Sources

Which version did I use for comilation

Configuration and Building

Building xmlrpc-c

$ ./configure --prefix=/usr/local CC=gcc-3.4 CXX=g++-3.4
 
$ make
$ make install

Building libtorrent

$ ./configure --prefix=/usr/local CC=gcc-3.4 CXX=g++-3.4 CXXFLAGS="-O2 -mcpu=xscale -mtune=xscale" \
--enable-aligned
 
$ make
$ make install
You need to use enable the xscale compiler-stuff.

Building rtorrent

$ ./configure --prefix=/usr/local CC=gcc-3.4 CXX=g++-3.4 CXXFLAGS="-O2 -mcpu=xscale -mtune=xscale" \
--enable-aligned --with-xmlrpc-c
 
$ make
$ make install
I didn't test the xmlrpc related stuff with rtorrent so I don't know if it works. But main stuff works so far. With this configuration you should be able to download.

tag.linux.nslu2.rtorrent

Discussion

, 2007/08/05 22:17

Great! I can`t wait to try it myself (my NSLU2 is up and running again since today :-D). BTW I tried to comment on your blog but all I got was PHP errors :-(.

Have fun!

, 2007/08/06 13:01

really strange, commenting worked for me. Can’t get XML-RPC to work, rtorrent reports XML-RPC is present, but it seems that no client is able to connect it. May be a problem with lighttpd. This is easy to check with apache...

, 2007/08/06 20:56

Hi, just for the record, that`s the error i get:

Warning: getblacklist() [function.getblacklist]: open_basedir restriction in effect. File(/usr/local/share/pear/HTTP/Request.php) is not within the allowed path(s): (/usr/home/user41) in /usr/home/user41/html/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 372
, 2007/08/07 11:24

thanks, may be I should test it without being logged in ;) I should test the dokuwiki blog plugin

, 2007/08/08 23:06

Blog is working again and wiki, is recovered so far…

XML-RPC through apache2 SCGI is working! Tested with PEAR/XML_RPC

, 2007/08/10 15:49

Cool! I already finished compiling librtorrent, but rtorrent itself wont compile (don`t know why at the moment). BTW, did you get my jabber invitation?

PS.: Nice new Template ;-).

, 2007/08/10 21:27

Maybe a

apt-get build-dep rtorrent

helps

The Template wasn't made by me. The tribute goes to 7throot

, 2008/11/01 09:57

No use for compiling, there are pre-compiled packages available:

http://www.nslu2-linux.org/wiki/HowTo/InstallRtorrentOnDebain

, 2008/11/01 10:42

Thanks for the info. When I've started working with rtorrent, there wasn't a package supporting xmlrpc, but time changes everything.

Enter your comment
If you can't read the letters on the image, download this .wav file to get them read to you.
 
 
linux/nslu2/rtorrent.txt · Last modified: 2007/11/28 18:11 by jpk
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki