rTorrent + Download Station + wTorrent?

Questions regarding modifying the torrent engine or download station may go here.
Forum rules
Please note the disclaimer before modifying your Synology Product.

rTorrent + Download Station + wTorrent?

Postby lucian.jp » Thu Nov 05, 2009 2:44 pm

Hi everyone,

My original goal was to update the rTorrent version 0.8.2 to 0.8.5 of the Download Station, and after install wTorrent to have both web-ui running on the same instance of rTorrent to be able to have more control over my torrents. Unfortunately, I failed. With the wikis and the help of forum I managed to update rTorrent with ipkg but then realized that the Download Station still uses the rTorrent 0.8.2.

From my understanding of different comment on the forum, the Download Station runs its own config file of rTorrent and a different compiled version, which makes it impossible to upgrade the Download Station version of rTorrent and since it doesn't use the standard .rtorrent.rc config file won't work the same time with wTorrent.

So based on this, making both working together seems impossible. I thought about making the two instances point to the same temp directory so the torrent file would be seeded by both, but the session directory specify that only one instance at the time can run.

So is what I'm trying to do doable? Can I update the Download Station version of rTorrent and can I run both web-ui pointing on the same rTorrent?

Thanks
lucian.jp
I'm New!
I'm New!
 
Posts: 1
Joined: Thu Nov 05, 2009 1:19 pm

Re: rTorrent + Download Station + wTorrent?

Postby gregoire » Fri Nov 06, 2009 1:07 am

There was an issue with xmlrpc-c_1.11.00-3_powerpc.ipk. You should downgrade to xmlrpc-c_1.11.00-2 which should work. Try that first. I can't downgrade the package so I don't know.

When I have time I will write my own guide on howto install wtorrent. I alreay discovered that the way the wiki does it only complicates things.
DS-508, DS214Play
Samung UE46C6900
Wireless network.
gregoire
Versed
Versed
 
Posts: 258
Joined: Sun Oct 29, 2006 9:51 pm

Re: rTorrent + Download Station + wTorrent?

Postby keodk » Sun Nov 22, 2009 3:03 am

Unfortunately the xmlrpc-c_1.11.00-2 file doesn' seem to be available anywhere. I've searched for too long now and I haven't been able to find it anywhere. I'd be happy to host it. Let me know if any of you have the file. :)
keodk
I'm New!
I'm New!
 
Posts: 2
Joined: Thu Apr 23, 2009 3:54 pm

Re: rTorrent + Download Station + wTorrent?

Postby John W. Hardin » Tue Nov 24, 2009 3:16 pm

keodk, do the instructions posted on the Wiki for obtaining xmlrpc-c_1.11.00-2 not work?
Image

via this page

lucian.jp, keep the rest of us informed on how this goes. I'd be interested in doing the same thing.
John W. Hardin
Trainee
Trainee
 
Posts: 17
Joined: Mon Nov 26, 2007 9:29 pm

Re: rTorrent + Download Station + wTorrent?

Postby keodk » Fri Dec 04, 2009 1:50 am

Hi John, thought I had subscribed to the thread, but it appears that I hadn't.

No, the wiki seems to be outdated. Unfortunately maartendamen.com doesn't host the files anymore and I haven't been able to find the xmlrpc-c_1.11.00-2 anywhere else.

I'd really like to install rtorrent w/ruTorrent webui on my syno, but it seems impossible without the right files...

Anyone.. let me know if you have this file: xmlrpc-c_1.11.00-2
keodk
I'm New!
I'm New!
 
Posts: 2
Joined: Thu Apr 23, 2009 3:54 pm

Re: rTorrent + Download Station + wTorrent?

Postby TRiPgod » Sun Dec 06, 2009 6:24 pm

Wonder if the newer xmlrpc-c versions will work. 1.16 ??
This 1.11.00-2 is nowhere to be found.
TRiPgod
Novice
Novice
 
Posts: 46
Joined: Wed May 20, 2009 3:18 pm

Re: rTorrent + Download Station + wTorrent?

Postby agnaramasi » Mon Feb 22, 2010 10:52 pm

I got rutorrent + rtorrent working by compiling xmlrpc-c "stable" version 1.16.25 from svn. Someone really ought to update the wiki.

EDIT:
Here's instructions on how to do this.

First you need to install the bootstrap for your processor to get ipkg working. Login as root through SSH and install the following the packages if they aren't installed already:
Code: Select all
ipkg install optware-devel gcc rtorrent libtorrent

Next, you need to download the xmlrpc-c stable source code from the subversion repository, with these commands:
Code: Select all
cd /root
REPOS=http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable
svn checkout $REPOS xmlrpc-c
Now you run the configure script:
Code: Select all
cd xmlrpc-c
./configure --prefix=/opt

If the above ipkg packages satisfied all the build dependencies of xmlrpc-c, the configuration script should run without errors. If you get an error, then I missed something and you can either locate and install the missing package yourself on ipkg or ask me here. (Please let me know if I missed something so that I can update this posting).
To compile and install, you simply run these commands:
Code: Select all
make
make install

Let me know if you have any questions or further problems. I can also assist with setting up lighttpd.
agnaramasi
I'm New!
I'm New!
 
Posts: 7
Joined: Wed Feb 17, 2010 9:07 pm

Re: rTorrent + Download Station + wTorrent?

Postby szczetyk » Fri Feb 26, 2010 1:11 pm

agnaramasi wrote:I got rutorrent + rtorrent working by compiling xmlrpc-c "stable" version 1.16.25 from svn. Someone really ought to update the wiki.
.....
Let me know if you have any questions or further problems. I can also assist with setting up lighttpd.


If U could go on with lighttpd i (and probably the rest ;) ) would be pleased....
According to the other posts in this thread (topic) this method won't work with built in download station' rTorrent ?

Cheers
szczetyk
I'm New!
I'm New!
 
Posts: 6
Joined: Wed Feb 24, 2010 12:35 am

Re: rTorrent + Download Station + wTorrent?

Postby exarm » Fri Feb 26, 2010 9:31 pm

You also need to install:
libcurl-dev
apr-util

and their dependences
exarm
I'm New!
I'm New!
 
Posts: 1
Joined: Thu Aug 06, 2009 11:49 am

Re: rTorrent + Download Station + wTorrent?

Postby TRiPgod » Sun Feb 28, 2010 7:16 pm

xmlrpc compiled fine. Thanks for your notes, agnaramasi and exarm.
I followed the wtorrent/rtorrent guide on the synology wiki.
At first, lighttpd would not initialize completely after start. One thing that needs to be added is when configuring /opt/etc/lighttpd/lighttpd.conf
Change
Code: Select all
# server.event-handler = "freebsd-kqueue" # needed on OS X

to this
Code: Select all
server.event-handler = "poll"


Another line that needs to be added to /opt/etc/php.ini
Code: Select all
extension=pdo_sqlite.so
TRiPgod
Novice
Novice
 
Posts: 46
Joined: Wed May 20, 2009 3:18 pm

Re: rTorrent + Download Station + wTorrent?

Postby TRiPgod » Fri Mar 05, 2010 8:20 pm

Updated the wiki to reflect changes noted in this thread.
TRiPgod
Novice
Novice
 
Posts: 46
Joined: Wed May 20, 2009 3:18 pm

Re: rTorrent + Download Station + wTorrent?

Postby Jilli » Tue Mar 09, 2010 9:22 pm

i can't seem to get xmlrpc-c configured, throws an error on gcc every time :(

output :

Code: Select all
checking for a BSD-compatible install... /opt/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking build system type... armv5tejl-unknown-linux-gnu
checking host system type... armv5tejl-unknown-linux-gnu
checking for wininet-config... no
configure: You don't appear to have Wininet installed (no working wininet-config in your command search path), so we will not build the Wininet client XML transport
checking whether to build Wininet client XML transport module... no
checking for curl-config... yes
checking whether to build Curl client XML transport module... yes
checking for libwww-config... no
configure: You don't appear to have Libwww installed (no working libwww-config in your command search path), so we will not build the Libwww client XML transport
checking whether to build Libwww client XML transport module... no
checking whether to build Abyss server module... yes
checking whether to build CGI server module... yes
checking whether to build C++ wrappers and tools... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.


config.log error section:
Code: Select all
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/opt

## --------- ##
## Platform. ##
## --------- ##

hostname = Synology
uname -m = armv5tejl
uname -r = 2.6.24
uname -s = Linux
uname -v = #1139 Thu Mar 4 11:27:49 CST 2010

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/bin
PATH: /opt/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/syno/bin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/syno/bin
PATH: /usr/syno/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/syno/bin
PATH: /usr/syno/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1369: checking for a BSD-compatible install
configure:1424: result: /opt/bin/install -c
configure:1435: checking whether build environment is sane
configure:1478: result: yes
configure:1493: checking whether make sets $(MAKE)
configure:1513: result: yes
configure:1545: checking for working aclocal
configure:1552: result: found
configure:1560: checking for working autoconf
configure:1567: result: found
configure:1575: checking for working automake
configure:1582: result: found
configure:1590: checking for working autoheader
configure:1597: result: found
configure:1605: checking for working makeinfo
configure:1616: result: missing
configure:1628: checking build system type
configure:1646: result: armv5tejl-unknown-linux-gnu
configure:1654: checking host system type
configure:1668: result: armv5tejl-unknown-linux-gnu
configure:1691: checking for wininet-config
configure:1718: result: no
configure:1726: You don't appear to have Wininet installed (no working wininet-config in your command search path), so we will not build the Wininet client XML transport
configure:1736: checking whether to build Wininet client XML transport module
configure:1738: result: no
configure:1754: checking for curl-config
configure:1770: found /opt/bin/curl-config
configure:1781: result: yes
configure:1799: checking whether to build Curl client XML transport module
configure:1801: result: yes
configure:1817: checking for libwww-config
configure:1844: result: no
configure:1852: You don't appear to have Libwww installed (no working libwww-config in your command search path), so we will not build the Libwww client XML transport
configure:1862: checking whether to build Libwww client XML transport module
configure:1864: result: no
configure:1897: checking whether to build Abyss server module
configure:1906: result: yes
configure:1933: checking whether to build CGI server module
configure:1942: result: yes
configure:1947: checking whether to build C++ wrappers and tools
configure:1956: result: yes
configure:2035: checking for gcc
configure:2051: found /opt/bin/gcc
configure:2061: result: gcc
configure:2305: checking for C compiler version
configure:2308: gcc --version </dev/null >&5
gcc (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2311: $? = 0
configure:2313: gcc -v </dev/null >&5
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: ../gcc-4.2/configure --build=i386-pc-linux-gnu --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/opt --disable-nls --disable-static --with-as=/home/slug/optwa
Thread model: posix
gcc version 4.2.3
configure:2316: $? = 0
configure:2318: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2321: $? = 1
configure:2344: checking for C compiler default output file name
configure:2347: gcc    conftest.c  >&5
gcc: error trying to exec 'as': execvp: No such file or directory
configure:2350: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "xmlrpc-c"
| #define VERSION "x.xx"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2389: error: C compiler cannot create executables
See `config.log' for more details.
Jilli
I'm New!
I'm New!
 
Posts: 3
Joined: Tue Mar 09, 2010 9:12 pm

Re: rTorrent + Download Station + wTorrent?

Postby Jilli » Fri Mar 12, 2010 9:47 am

anyone? :(
Jilli
I'm New!
I'm New!
 
Posts: 3
Joined: Tue Mar 09, 2010 9:12 pm

Re: rTorrent + Download Station + wTorrent?

Postby gregoire » Fri Mar 12, 2010 10:35 am

Xmlrpc is now included into the new firmware 2.3.
DS-508, DS214Play
Samung UE46C6900
Wireless network.
gregoire
Versed
Versed
 
Posts: 258
Joined: Sun Oct 29, 2006 9:51 pm

Re: rTorrent + Download Station + wTorrent?

Postby laser21 » Fri Mar 12, 2010 3:06 pm

gregoire wrote:Xmlrpc is now included into the new firmware 2.3.


Is this really true?

Can anyone make a guide on installing rtorrent with wtorrent on the new 2.3 firmware??
laser21
Novice
Novice
 
Posts: 41
Joined: Mon Feb 01, 2010 9:57 pm

Next

Return to Torrent Engines/Download Station Mods

Who is online

Users browsing this forum: No registered users and 2 guests