Page 1 of 1

Compile only daemon

Posted: Wed Oct 15, 2008 6:08 am
by Andrey
Hello all.
Is it possible to compile and run only a Deluge daemon? And what dependencies it requered?

Re: Compile only daemon

Posted: Wed Oct 15, 2008 6:31 am
by johnnyg
Userguide on installing deluge from source: http://dev.deluge-torrent.org/wiki/InstallingDeluge
To run just the daemon:

Code: Select all

deluged

Re: Compile only daemon

Posted: Wed Oct 15, 2008 7:28 pm
by Malamut
Ok, it's easy to install from sources. But can I compile Deluge without GNOME, GTK and other unnecessary libraries, only console (or web) ui and daemon, for example, can I install deluge to server with only console user interface? This is a frequent question on some russians forums)))

Re: Compile only daemon

Posted: Thu Oct 16, 2008 12:20 am
by andar
Malamut wrote:Ok, it's easy to install from sources. But can I compile Deluge without GNOME, GTK and other unnecessary libraries, only console (or web) ui and daemon, for example, can I install deluge to server with only console user interface? This is a frequent question on some russians forums)))
Yes.

Basically, the only build dependencies you need are for libtorrent and that's basically just boost and ssl. All the GTK stuff is dynamically loaded in python, so you don't need to install any of those libraries for the daemon to work or to build. The only thing the daemon really requires is pygobject which depends on glib.

Re: Compile only daemon

Posted: Thu Nov 06, 2008 7:51 pm
by gilbert2048
I was wondering if someone knew how I could compile just the web interface.
I am planing on setting up the web interface to run under Apache like this totorial and I would prefer not to install the demon or the GTK interface considering it is a web server and is headless

Thanks in advance
-Gilbert

Re: Compile only daemon

Posted: Thu Nov 06, 2008 9:38 pm
by mvoncken
gilbert2048 wrote:I was wondering if someone knew how I could compile just the web interface.
I am planing on setting up the web interface to run under Apache like this totorial and I would prefer not to install the demon or the GTK interface considering it is a web server and is headless

Thanks in advance
-Gilbert
wsgi has some problems, it's easier to use mod_proxy : http://forum.deluge-torrent.org/viewtop ... oxy#p53605

Re: Compile only daemon

Posted: Wed Nov 12, 2008 3:48 am
by gilbert2048
mvoncken wrote:it's easier to use mod_proxy : http://forum.deluge-torrent.org/viewtop ... oxy#p53605
Thank you, while it may be easier it still requires me to run 2 web servers, which I find to be unnecessary.

The thing that I am mainly interested in is there a way to compile just the web ui instead of the demon and every GUI, etc.

Re: Compile only daemon

Posted: Wed Nov 12, 2008 8:31 pm
by mvoncken
gilbert2048 wrote: The thing that I am mainly interested in is there a way to compile just the web ui instead of the demon and every GUI, etc.
That's only possible if you manually edit setup.py.
To avoid building libtorrent comment out : "ext_modules = _ext_modules,"

Re: Compile only daemon

Posted: Thu Nov 13, 2008 3:43 am
by gilbert2048
thank you i give it my best and let you know of my results

Re: Compile only daemon

Posted: Fri Nov 14, 2008 2:10 am
by gilbert2048
I could not find "ext_modules = _ext_modules" in the file I found lines that were similar but not that exact phrase. I did fine the line " ext_modules = [libtorrent]," which I commented out, and it successfully built. Install seemed to go ok but I'm not completely sure, because I seem to be unable to access that port on my server(of course I thought it was from the install but, I tried a clean install and still couldn't access it), I think I need to fix the firewall, so I have no idea if it worked.