installation question

13 views
Skip to first unread message

Randy

unread,
Oct 25, 2008, 3:36:39 PM10/25/08
to NSLU2-rtorrent
So to install these latest versions, I simply unzip them into the
appropriate directories on my slug?

hhasert

unread,
Oct 26, 2008, 6:10:34 AM10/26/08
to NSLU2-rtorrent
You need xmlrpc, libtorrent and rtorrent. The files are a tar image
from the root directory that is gzipped, so the general command is :

cd /
gzip -cd xmlrpc-1.15.tar.gz | tar xfv -
gzip -cd libtorrent-0.12.3_1073+patch.tar.gz | tar xfv -
gzip -cd rtorrent-0.8.3_1073.tar.gz | tar xfv -

It will overwrite the files in the appropriate directories on the
slug. You can check succesfull 'install' by checking the dates on /lib/
libtorrent*, /usr/bin/rtorrent and /usr/lib/libxmlrpc*.

Martin Manscher

unread,
Oct 26, 2008, 4:04:16 PM10/26/08
to NSLU2-rtorrent
I tried this, also installed libcurl3 and libxmlrpc-c3 (apt-get
install libcurl3 libxmlrpc-c3), and linked libcurl.so.4 to get rid of
an error (ln -s /usr/lib/libcurl.so.3 /usr/lib/libcurl.so.4, see
http://ubuntuforums.org/showthread.php?t=499381), but then I ran into
this problem:

rtorrent: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
(required by rtorrent)
rtorrent: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.10' not found
(required by /lib/libtorrent.so.11)
rtorrent: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
(required by /lib/libtorrent.so.11)

The libstdc++6 package is installed and is the latest version, so I'm
not sure what to do here (Debian Etch on NSLU2). Any ideas?

Martin

hhasert

unread,
Oct 27, 2008, 3:01:33 PM10/27/08
to NSLU2-rtorrent
Martin,

My compile is based on the 'lenny' distribution for the Slug.

Randy

unread,
Oct 28, 2008, 10:21:01 PM10/28/08
to NSLU2-rtorrent
On Oct 26, 5:10 am, hhasert <Hans.Has...@gmail.com> wrote:
> You need xmlrpc,libtorrent and rtorrent. The files are a tar image
Thanks, I'm glad I asked. I didn't think I needed xmlrpc. What does
that do, anyway? (I thought it had something to do with that web
interface app for rtorrent, which I don't use).
Thanks for your work in keeping rtorrent up to date for the slug, it's
much appreciated.

Randy

unread,
Oct 28, 2008, 11:08:35 PM10/28/08
to NSLU2-rtorrent
hmmm, I just looked at my slug's filesystem and I did not see /usr/bin/
xmprpc or xmlrpc-c-config (these are the paths that are indicated in
your xmprpc zip file). I also didn't see /usr/include/xmlrpc-c or any
of the files below that. I DID see 20 /usr/lib/libxml* files, but your
zip file has 64 files. So I'm a little confused. Is the difference
because I'm running rtorrent 0.7.9/libtorrent10 0.11.9?
Here's some ls output:

ls /usr/lib/libxml*
lrwxrwxrwx 1 root root 17 Sep 12 15:29 /usr/lib/libxml2.so.2 ->
libxml2.so.2.6.32
-rw-r--r-- 1 root root 1.2M Aug 25 18:15 /usr/lib/libxml2.so.2.6.32
lrwxrwxrwx 1 root root 19 Sep 12 17:38 /usr/lib/libxmlrpc.so.3 ->
libxmlrpc.so.3.6.15
-rw-r--r-- 1 root root 45K May 15 18:20 /usr/lib/libxmlrpc.so.3.6.15
lrwxrwxrwx 1 root root 25 Sep 12 17:38 /usr/lib/libxmlrpc_abyss.so.3
-> libxmlrpc_abyss.so.3.6.15
-rw-r--r-- 1 root root 55K May 15 18:20 /usr/lib/libxmlrpc_abyss.so.
3.6.15
lrwxrwxrwx 1 root root 26 Sep 12 17:38 /usr/lib/libxmlrpc_client.so.
3 -> libxmlrpc_client.so.3.6.15
-rw-r--r-- 1 root root 23K May 15 18:20 /usr/lib/libxmlrpc_client.so.
3.6.15
lrwxrwxrwx 1 root root 26 Sep 12 17:38 /usr/lib/libxmlrpc_server.so.
3 -> libxmlrpc_server.so.3.6.15
-rw-r--r-- 1 root root 14K May 15 18:20 /usr/lib/libxmlrpc_server.so.
3.6.15
lrwxrwxrwx 1 root root 32 Sep 12 17:38 /usr/lib/
libxmlrpc_server_abyss.so.3 -> libxmlrpc_server_abyss.so.3.6.15
-rw-r--r-- 1 root root 14K May 15 18:20 /usr/lib/
libxmlrpc_server_abyss.so.3.6.15
lrwxrwxrwx 1 root root 30 Sep 12 17:38 /usr/lib/
libxmlrpc_server_cgi.so.3 -> libxmlrpc_server_cgi.so.3.6.15
-rw-r--r-- 1 root root 7.2K May 15 18:20 /usr/lib/
libxmlrpc_server_cgi.so.3.6.15
lrwxrwxrwx 1 root root 24 Sep 12 17:38 /usr/lib/libxmlrpc_util.so.3 -
> libxmlrpc_util.so.3.6.15
-rw-r--r-- 1 root root 6.6K May 15 18:20 /usr/lib/libxmlrpc_util.so.
3.6.15
lrwxrwxrwx 1 root root 28 Sep 12 17:38 /usr/lib/
libxmlrpc_xmlparse.so.3 -> libxmlrpc_xmlparse.so.3.6.15
-rw-r--r-- 1 root root 34K May 15 18:20 /usr/lib/
libxmlrpc_xmlparse.so.3.6.15
lrwxrwxrwx 1 root root 26 Sep 12 17:38 /usr/lib/libxmlrpc_xmltok.so.
3 -> libxmlrpc_xmltok.so.3.6.15
-rw-r--r-- 1 root root 85K May 15 18:20 /usr/lib/libxmlrpc_xmltok.so.
3.6.15

ls /usr/bin/xml*
ls: cannot access /usr/bin/xml*: No such file or directory

ls /usr/include/xml*
ls: cannot access /usr/include/xml*: No such file or directory

hhasert

unread,
Oct 29, 2008, 2:06:24 PM10/29/08
to NSLU2-rtorrent
Well, you need xmlrpc to use the web interface and I think rtorrent is
going to complain abou their availability, because it is compiled with
xmlrpc support. . I have witten giTorrent ( http://code.google.com/p/gi-torrent/
) for hat purpose and xmlrpc needs to be compiled in to enable it. I
have a full package of XMLRPC 'advanced' that also includes the
development stuff. The reason for the 'advanced' version was that it
did not support the correct variable types in the other version and I
used w-torrent then that did not take to that nicely when the value
returned did not fit that variable type. So, I have a xmlrpc package
that contains both the libraries (all of them for the advanced
version), the tools and the header files. Dispose of the stuff you do
not need (probably just the libraries you have now in an updated
version).

Randy

unread,
Oct 29, 2008, 7:13:11 PM10/29/08
to NSLU2-rtorrent
Thanks for the info Hans. I'm not sure of what I need and what I
don't, so I'll just unzip the whole thing. It's only 6 MB, so it's not
using a ton of space. As long as the new rtorrent runs, I'd don't care
if there's some extra stuff there :)
Speaking of this newest rtorrent, I assume you are running it. Have
you had any problems with it. I also run Arch linux and they recently
removed 0.8.2 from their repo and went back to 0.7.9 because of some
problems with 0.8.2.

hhasert

unread,
Oct 30, 2008, 3:03:39 PM10/30/08
to NSLU2-rtorrent
Randy,

Yes, I run every version I publish. I publish relatively quick, so
sometimes there are instabilities. I monitor the issue list though to
apply patches as soon as they are available. There haven been many
updates/patches for this version, so using it is at your own risk.
Whenever I find a major bug I issue a message in the forum to warn
about it. Most of the times I keep previous versions online, however
this time f.i. I removed them because the patches were in this release
and another bug with encryption (in specific circumstances) was
included as well.
Reply all
Reply to author
Forward
0 new messages