[Kget] Compilation problem (libktorrent issue)
Andras Mantia
amantia at kde.org
Sun Oct 17 18:57:08 CEST 2010
Hi,
right now kdenetwork trunk fails to compile for me because of kget's
bittorrent plugin. The problem seems to be that I have linktorrent
installed from extragear trunk. This is used by kget, but compilation
fails because some symbols are not present in libktorrent. Eg:
bt::ChunkSelectorFactoryInterface. As I see kget has a copy (libbtcore),
but even if I set the cmake files and the include statement to use the
copy, it fails. It still uses the installed libktorrent, because eg.
there is no "udp" directory in the copy. This mixing of the libs of
course will result in errors.
I see that the bittorrent plugin is conditionally included only if
libktorrent is found. So kget needs to be fixed to either:
1) use libktorrent and only libktorrent, and getting rid of libbtcore
2) use libbtcore, which can be a patched copy of libktorrent (if for
some reason it needs features not accepted in the main lib), but in that
case it should use everything from there, so the libbtcore needs to be a
complete copy of libktorrent + patches. And you need to make sure
include statements from other file include the headers from the copy and
not from the installed libktorrent files.
I tried to fix this issue, but I'm not familiar with the code, so I
rather not mess around with blidnly copying files from here and there
just to make it compile.
Andras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kget/attachments/20101017/d24a0592/attachment.sig
More information about the Kget
mailing list