Page 1 of 1

Libtorrent and checkinstall

Posted: Mon Jul 20, 2015 7:11 pm
by Gloix
Hi, I compiled libtorrent-rasterbar (0.16.19) from source and installed it via checkinstall, but when I try to install deluged 1.3.11 aptitude tells me that libtorrent-rasterbar6 (which is version 0.15.10) will be installed.
Should I change something in the parameters given to checkinstall so that aptitude detects libtorrent as installed?
I'm using Raspbian.

Current checkinstall settings:

Code: Select all

0 -  Maintainer: [ root@raspberrypi ]
1 -  Summary: [ libtorrent-rasterbar ]
2 -  Name:    [ libtorrent-rasterbar ]
3 -  Version: [ 0.16.19 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ armhf ]
8 -  Source location: [ libtorrent-rasterbar-0.16.19 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ libtorrent-rasterbar ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Re: Libtorrent and checkinstall

Posted: Sat Aug 15, 2015 5:54 pm
by Gloix
Finally made it work by following the instructions at https://www.raspberrypi.org/forums/view ... 1&t=100043
Though I checkinstall'd instead of make install.

So, the solution is to install deluged from source instead of the repo version.

Re: Libtorrent and checkinstall

Posted: Sun Aug 16, 2015 12:33 pm
by Cas
The likely issue is that the debian package is looking for python-libtorrent but the workaround for your original issue was to let it install 0.15 and reinstall 0.16 afterwards.

We have instructions for building from source for both deluge and libtorrent on our wiki (which are better than potentially outdated external site instructions):

http://dev.deluge-torrent.org/wiki/Installing/Source
http://dev.deluge-torrent.org/wiki/Building/libtorrent