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

KTorrent-3.4.4 compile error Ubuntu 8.10

Tags: None
(comma "," separated)
Berilac
Registered Member
Posts
4
Karma
0
Trying to compile 3.4.4 on a ubuntu 8.10 server, using the http://ktorrent.org/wiki/index.php/FAQ# ... pile_it.3F but it gets to 97% and thows up an error when I carry out make

I have absolutely no idea what I am looking for to correct this, hopefully some one here does.

As far as I know I have all dependancies installed, or the cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) command would not compile and it dont show any errors at the end of that.
This is what I get at the end of running that command

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ Plasma
+ libkworkspace
+ libtaskmanager
Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /home/berilac/Downloads/ktorrent-3.3.4

This is the output at the end of make

[ 98%] Building CXX object plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/plasma_applet_ktorrent_automoc.o
In file included from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp:10,
from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/plasma_applet_ktorrent_automoc.cpp:4:
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/applet.h:24:32: error: plasma/popupapplet.h: No such file or directory
In file included from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/applet.h:27,
from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp:10,
from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/plasma_applet_ktorrent_automoc.cpp:4:
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/fadingnavigationwidget.h:27:24: error: Plasma/Frame: No such file or directory
In file included from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/applet.h:27,
from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp:10,
from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/plasma_applet_ktorrent_automoc.cpp:4:
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/fadingnavigationwidget.h:37: error: ISO C++ forbids declaration of 'Frame' with no type
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/fadingnavigationwidget.h:37: error: invalid use of '::'
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/fadingnavigationwidget.h:37: error: expected ';' before '*' token
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/fadingnavigationwidget.h:52: error: ISO C++ forbids declaration of 'Frame' with no type
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/fadingnavigationwidget.h:52: error: invalid use of '::'
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/fadingnavigationwidget.h:52: error: expected ';' before '*' token
In file included from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp:10,
from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/plasma_applet_ktorrent_automoc.cpp:4:
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/applet.h:50: error: expected class-name before '{' token
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/applet.h:58: error: 'KConfigDialog' has not been declared
In file included from /home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/plasma_applet_ktorrent_automoc.cpp:4:
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp:51: error: 'Plasma::PopupApplet' has not been declared
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp: In member function 'virtual void* ktplasma::Applet::qt_metacast(const char*)':
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp:65: error: 'PopupApplet' in namespace 'Plasma' does not name a type
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp:66: error: 'QMocSuperClass' has not been declared
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp: In member function 'virtual int ktplasma::Applet::qt_metacall(QMetaObject::Call, int, void**)':
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp:71: error: 'PopupApplet' in namespace 'Plasma' does not name a type
/home/berilac/Downloads/ktorrent-3.3.4/plasma/applet/moc_applet.cpp:72: error: 'QMocSuperClass' has not been declared
make[2]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/plasma_applet_ktorrent_automoc.o] Error 1
make[1]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/all] Error 2
make: *** [all] Error 2

Any pointers appreciated
Knut
Registered Member
Posts
79
Karma
0
Berilac wrote:error: plasma/popupapplet.h: No such file or directory

Any pointers appreciated

It seem for some reason it does not find the popupapplet.h file, it should be in your [kde prefix]/include/plasma/ directory.
Do you actually have it?
Berilac
Registered Member
Posts
4
Karma
0
Thanks for replying Knut, but somehow I got past the error and have it installed. But for some strange reason the version is 3.1.2 when I run it?

whereis ktorrent = /usr/bin/ktorrent

uninstalled 3.1.2 before I tried compiling ktorrent 3.3.4 too?
Berilac
Registered Member
Posts
4
Karma
0
Well after a bit of trial and error and many uninstalls/re-installs, all seems to be working.

Seems to be that when I tried to use ktorrent(3.1.2) for the first time it crashed. But when I restarted it it displayed the correct version (3.3.4) and is working.

Cant find an option to set this thread to solved, so if a mod sees this and can do it, please feel free to do so.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]