Page 1 of 1
Building and using deluge without gtk support
Posted: Sat Sep 26, 2009 10:19 am
by Popof
Hi,
I have a FreeBSD box used like a NAS, I'd like to know if it's possible to build deluge without gtk and all its dependencies (ie: X11 stuff that I doesn't need).
I'll need only the deluge client and the webui...
So if someone has found a way to compile and run it without all this stuff please share
Thanks.
Re: Building and using deluge without gtk support
Posted: Sat Sep 26, 2009 10:38 am
by johnnyg
yes it is, gtk dependencies are only checked at runtime.
http://dev.deluge-torrent.org/wiki/Installing/Source gives an overview of how to generically install from source (including what dependencies are required).
http://dev.deluge-torrent.org/wiki/Installing/FreeBSD gives an overview of how to install on freebsd, this is probably the better one to follow (you would obviously not install any gtk dependencies).
once you've installed deluge, I'd recommend looking at the thin client userguide:
http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient
good luck!
Re: Building and using deluge without gtk support
Posted: Mon Sep 28, 2009 9:11 pm
by Popof
Thanks a lot,
It's works thanks to your links. But I had some problems so I'll post them in this board in order to help other people with same issues.
First of all I need to install this:
/usr/ports/devel/boost/usr/ports/devel/python25
/usr/ports/devel/py-setuptools
/usr/ports/devel/py-xdg
/usr/ports/devel/py-gobject
/usr/ports/graphics/librsvg2
Then I had some problem during building because of my version of gcc (4.2.1)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40484
So I had to install /usr/local/lang/gcc42(4.2.5) and it works like a charm.