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

compiling and installing ktorrent

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

compiling and installing ktorrent

Sun Jan 24, 2010 1:16 am
While trying to compile and install KTorrent version 3.3 , I typed the following instructions on the command line:

tar -xvjf ktorrent-3.3.tar.bz2
cd ktorrent-3.3
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..

After typing the last command the following appeared:

bash: kde4-config: command not found
CMake Error: ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/dave/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
-- Configuring done

From the following, can you tell me what to do from here? I'm stumped.
netcelli
Registered Member
Posts
44
Karma
0
OS
You have to install kde-dev package. It is usually called kdebase-dev or something like that :)
2XLT
Registered Member
Posts
2
Karma
0
Thank you very much for the previous post and the help it provided. This seemed to to the trick because all proceeded well until the end. I'm hoping that a further boost by you will get me up and over the hump. Here is the text from the terminal at the end of the installation where the error messages first appeared:

home/dave/ktorrent/ktorrent-3.3/libktcore/interfaces/activity.cpp:54:2: warning: no newline at end of file
/home/dave/ktorrent/ktorrent-3.3/libktcore/interfaces/activity.cpp: In static member function ‘static bool kt::Activity::lessThan(kt::Activity*, kt::Activity*)’:
/home/dave/ktorrent/ktorrent-3.3/libktcore/interfaces/activity.cpp:50: error: ‘naturalCompare’ is not a member of ‘KStringHandler’
make[2]: *** [libktcore/CMakeFiles/ktcore.dir/interfaces/activity.o] Error 1
make[1]: *** [libktcore/CMakeFiles/ktcore.dir/all] Error 2
make: *** [all] Error 2
dave@david:~/ktorrent/ktorrent-3.3/build$ sudo make install
[sudo] password for dave:
[ 28%] Built target btcore
[ 28%] Building CXX object libktcore/CMakeFiles/ktcore.dir/interfaces/activity.o
/home/dave/ktorrent/ktorrent-3.3/libktcore/interfaces/activity.cpp:54:2: warning: no newline at end of file
/home/dave/ktorrent/ktorrent-3.3/libktcore/interfaces/activity.cpp: In static member function ‘static bool kt::Activity::lessThan(kt::Activity*, kt::Activity*)’:
/home/dave/ktorrent/ktorrent-3.3/libktcore/interfaces/activity.cpp:50: error: ‘naturalCompare’ is not a member of ‘KStringHandler’
make[2]: *** [libktcore/CMakeFiles/ktcore.dir/interfaces/activity.o] Error 1
make[1]: *** [libktcore/CMakeFiles/ktcore.dir/all] Error 2
make: *** [all] Error 2
dave@david:~/ktorrent/ktorrent-3.3/build$

This is meaningless to me.....hopefully not for you. Thank you so much. Even if this stumps you. :)
George
Moderator
Posts
5421
Karma
1
Your KDE version is to old, the missing function it is complaining about was added in KDE 4.1, so you that version or something newer.


Bookmarks



Who is online

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