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

[Solved] No modules in the list after compiling

Tags: None
(comma "," separated)
sarogahtyp
Registered Member
Posts
2
Karma
0
Hello,

Iam riding at Slackware Linux 13.1.0 with kernel 2.6.33 installed. My hardware is an Intel PIII mobile CPU 1.0GHz at Dell Latitude Laptop.

I compiled libktorrent 1.0.3 using cmake successfuly. Then I tried to compile ktorrent 4.0.3 using cmake, but it failed with an QT error. (I am using QT 4.6.2)

After that I compiled ktorrent 3.3.4 also using cmake and it looked successfull for me.
Before i installed the fresh compiled version, I uninstalled my precompiled slackware ktorrent 3.3.4 using pkgtool.
Now i installed my own compiled ktorrent 3.3.4

Now, my Problem ist that there is not one Module in ktorrents module list.
What happend and how can i get those Modules to see the various informations about my torrents?

Last edited by sarogahtyp on Thu Sep 16, 2010 7:28 am, edited 1 time in total.
netcelli
Registered Member
Posts
44
Karma
0
OS
When you compile ktorrent with cmake you have to tell which plugins you want to enable. For ex. to enable all plugins the command is

Code: Select all
cmake -DENABLE_BWSCHEDULER_PLUGIN=ON -DENABLE_DOWNLOADORDER_PLUGIN=ON -DENABLE_INFOWIDGET_PLUGIN=ON -DWITH_SYSTEM_GEOIP=ON -DENABLE_IPFILTER_PLUGIN=ON -DENABLE_SCRIPTING_PLUGIN=ON -DENABLE_LOGVIEWER_PLUGIN=ON -DENABLE_MAGNETGENERATOR_PLUGIN=ON -DENABLE_MEDIAPLAYER_PLUGIN=ON -DENABLE_SYNDICATION_PLUGIN=ON -DENABLE_SCANFOLDER_PLUGIN=ON -DENABLE_SEARCH_PLUGIN=ON -DENABLE_SHUTDOWN_PLUGIN=ON -DENABLE_STATS_PLUGIN=ON -DENABLE_UPNP_PLUGIN=ON -DENABLE_WEBINTERFACE_PLUGIN=ON -DENABLE_ZEROCONF_PLUGIN=ON ..


In general to enable a plugin you should pass the following option to cmake command:
Code: Select all
-DENABLE_<PLUGINNAME>_PLUGIN=ON

To check out the list of plugin see plugins folder inside ktorrent source
George
Moderator
Posts
5421
Karma
1
If you don't see the plugins after a compile and install, it usually means you need to run kbuildsycoca4 and then start ktorrent.

If that doesn't work, then they are probably installed in the wrong location.

By default all plugins are enabled for compiling, so no need to enable each plugin manually.
sarogahtyp
Registered Member
Posts
2
Karma
0
Thx a lot for ur help guys.

I tested Georges hint about kbuildsycoca4 and it worked very well...


Bookmarks



Who is online

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