Building libtorrent and 1.3.6 on Debian sid
Posted: Wed Oct 02, 2013 4:38 pm
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
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