Building and using deluge without gtk support

General support for problems installing or using Deluge
Post Reply
Popof

Building and using deluge without gtk support

Post 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.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Building and using deluge without gtk support

Post 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!
Popof

Re: Building and using deluge without gtk support

Post 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.
Post Reply