Bug 200099 - kget doesn't find libbtcore when ktorrent is installed outside of the KDE directory.
Summary: kget doesn't find libbtcore when ktorrent is installed outside of the KDE dir...
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: torrent (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 23:42 UTC by Darin McBride
Modified: 2010-01-02 22:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin McBride 2009-07-13 23:42:42 UTC
Version:            (using KDE 4.2.96)
OS:                Linux
Installed from:    Gentoo Packages

kget fails to compile because it can't find libbtcore.  With the following patch, it compiles.  However, kget pops up an error message saying "Plugin loader could not load the plugin: kget_bittorrentfactory" even though "ldd /usr/kde/4.3/lib64/kde4/kget_bittorrentfactory.so" seems to say everything can be found.

--- cmake/modules/FindBTCore.cmake    (revision 982472)
+++ cmake/modules/FindBTCore.cmake    (working copy)
@@ -22,8 +22,10 @@
     NAMES
     btcore_export.h
     PATHS 
-    ${KDE4_INCLUDE_DIR}/libbtcore
-    ${INCLUDE_INSTALL_DIR}/libbtcore
+    ${KDE4_INCLUDE_DIR}
+    ${INCLUDE_INSTALL_DIR}
+    PATH_SUFFIXES
+    libbtcore
     )

   FIND_LIBRARY(BTCORE_LIBRARIES
Comment 1 Lukas Appelhans 2010-01-02 22:07:24 UTC
Everything should be fine in latest trunk now...

Lukas