This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] ktorrent 3.0.2 plugins not showing on kubuntu-kde4

Tags: None
(comma "," separated)
koivunej
Registered Member
Posts
3
Karma
0
Hi there,

I just got kubuntu-kde4 installed, everything is working ok and ktorrent even compiles nicely.

Problem is that I cannot see any plugins installed..
Code: Select all
cmake .
Tells me that everything is supposed to be compiled and installed:
Code: Select all
$ cmake .
-- Found Qt-Version 4.3.4 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.0 include dir: /usr/lib/kde4/include
-- Found KDE 4 library dir: /usr/lib/kde4/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/lib/kde4/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/lib/kde4/bin/kde4automoc
-- Found Strigi: /usr/lib/libstreams.so
-- Building KTorrent with DHT support (-DENABLE_DHT_SUPPORT=false to disable)
-- Building logviewer plugin (-DENABLE_LOGVIEWER_PLUGIN=false to disable)
-- Building infowidget plugin (-DENABLE_INFOWIDGET_PLUGIN=false to disable)
--    Compiling GeoIP support directly into InfoWidget plugin
-- Building upnp plugin (-DENABLE_UPNP_PLUGIN=false to disable)
-- Building search plugin (-DENABLE_SEARCH_PLUGIN=false to disable)
-- Building webinterface plugin (-DENABLE_WEBINTERFACE_PLUGIN=false to disable)
-- Building scanfolder plugin (-DENABLE_SCANFOLDER_PLUGIN=false to disable)
-- Building ipfilter plugin (-DENABLE_IPFILTER_PLUGIN=false to disable)
-- Building stats plugin (-DENABLE_STATS_PLUGIN=false to disable)
-- Building bwscheduler plugin (-DENABLE_BWSCHEDULER_PLUGIN=false to disable)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/joonas/Programs/ktorrent-3.0.2

And during make install they seem to go under /usr/local/lib/kde4.

Ktorrent launches ok and but no plugins are visible (most importantly I cannot find upnp plugin).

I have added /usr/local/lib/kde4 to /etc/ld.so.conf.d/kde4.conf and sudo ldconfig -v shows that it found libktupnp.so.1 from that very directory..

What to do or is this a bug?

--edit: changed subject to solved; last post has the answer.

Last edited by koivunej on Sat Apr 26, 2008 3:42 pm, edited 1 time in total.
stoeptegel
Registered Member
Posts
1075
Karma
0

Sat Apr 26, 2008 2:30 pm
Have you tried $kbuildsycoca4 ?
koivunej
Registered Member
Posts
3
Karma
0

kbuildsyscoca4

Sat Apr 26, 2008 3:26 pm
Yes I tried, no change.

Do you have any idea how to configure (to make sure) which directories are checked by kbuildsyscoca4? I'm having a feeling that it just skips /usr/local/lib/kde4.. Though I could make a symlink also.
stoeptegel
Registered Member
Posts
1075
Karma
0

Sat Apr 26, 2008 3:34 pm
For kubuntu the installation path is /usr/lib/kde4.

Code: Select all
$ echo $(`locate kde4-config | head -n1` --prefix)
koivunej
Registered Member
Posts
3
Karma
0

Solution

Sat Apr 26, 2008 3:41 pm
Yeah so I hear (big thank goes out to pinotree@#kde freenode.net).

When compiling under kubuntu (at least) ktorrent should be configured like:
Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) .


And built with:
Code: Select all
make -j4
sudo make install


Nice thing about cmake is that it seems to create good "make uninstall" targets so that uninstalling is simple too!

Hopefully this thread catches the eye of other kubuntu users..
imported4-Leo
Registered Member
Posts
1
Karma
0

Fedora 9

Tue May 20, 2008 11:14 pm
Hi,
thx for your solution koivunej.
It also worked for me on Fedora 9 ;-)


Do the (R)evolution!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]