You will need the libboost packages, particularly
libboost-filesystem1.54-dev
libboost-system1.54-dev
libboost-thread1.54-dev
libboost-iostreams1.54-dev
libboost-exception1.54-dev
libboost-context1.54-dev
libboost-regex1.54-dev
libboost-locale1.54-dev
and others. Just go thru the list and pick those which are applicable in a general programming environment. They will add up to about 9m installed. These packages depend on Debians' boost development package ( libboost1.54-dev), which contains the bjam executable file. I also installed the libboost-python1.54-dev package, which contains the Boost Python library. It depends on the Python development packages.
You should also have everything mentioned in the DEPENDS file of the 1.3.6 tarball and the libssl-dev package. Remove all packages containing libtorrent in the package name. Then go to http://sourceforge.net/p/libtorrent/cod ... s/RC_0_16/ and download libtorrent. Unzip it, cd to it and type:
$ ./autotool.sh
If everything goes fine you should then type:
$ ./configure --enable-python-binding
Then:
$ make
After this, extract the 1.3.6 tarball to another directory, cd to it and make a symlink to the libtorrent directory ( symlink should be named libtorrent and point to the directory where you just built libtorrent ). Then type:
$ python setup.py build
Then:
$ sudo python setup.py install
And that's it.
I also have the init script from https://gist.github.com/alghanmi/5667666 modified so it points to /usr/local/bin instead of /usr/bin. Install instructions at:
http://dev.deluge-torrent.org/wiki/User ... ipt/Ubuntu
Thanks due to the thread of crishna at
http://forum.deluge-torrent.org/viewtop ... =7&t=45725
Building libtorrent and 1.3.6 on Debian sid
Building libtorrent and 1.3.6 on Debian sid
Last edited by ernobe on Wed Oct 02, 2013 7:38 pm, edited 1 time in total.
Re: Building libtorrent and 1.3.6 on Debian sid
You have overcomplicated the instructions a little and 0.16 doesn't require all those boost libs, iirc only libboost-system and libboost-python are needed.
http://forum.deluge-torrent.org/viewtop ... 27#p173249
http://forum.deluge-torrent.org/viewtop ... 27#p173249
Re: Building libtorrent and 1.3.6 on Debian sid
how stable is deluge in debian? I am thinking of moving over to debian as well.
Re: Building libtorrent and 1.3.6 on Debian sid
abubin what OS are you currently using?
Re: Building libtorrent and 1.3.6 on Debian sid
Not very. The latest version of Deluge, 1.3.6 is available under 'experimental'. 'Unstable' has 1.3.3.abubin wrote:how stable is deluge in debian? I am thinking of moving over to debian as well.
I don't understand the reasoning that well but assume it has to do with the packagers intent to keep the daemon as a separate package from deluge-gtk and deluge-web. In experimental it comes with an init script with user deluge-daemon, but if you try to su into deluge-daemon from root you are told the user doesn't exist!
I just changed the user to myself ( in the init script ) and so far everything is going OK.