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

[current svn] does not compile

Tags: None
(comma "," separated)
stoeptegel
Registered Member
Posts
1075
Karma
0

[current svn] does not compile

Fri Sep 05, 2008 4:59 pm
Code: Select all
[100%] Building CXX object plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/plasma_applet_ktorrent_automoc.o
[100%] Building CXX object plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/applet.o
/home/martijn/svn/ktorrent/plasma/applet/applet.cpp:35:37: error: taskmanager/taskmanager.h: No such file or directory
/home/martijn/svn/ktorrent/plasma/applet/applet.cpp:36:30: error: taskmanager/task.h: No such file or directory
/home/martijn/svn/ktorrent/plasma/applet/applet.cpp: In member function ‘void ktplasma::Applet::iconClicked()’:
/home/martijn/svn/ktorrent/plasma/applet/applet.cpp:377: error: ‘TaskManager’ has not been declared
/home/martijn/svn/ktorrent/plasma/applet/applet.cpp:377: error: expected `;' before ‘tasks’
/home/martijn/svn/ktorrent/plasma/applet/applet.cpp:378: error: ‘TaskManager’ has not been declared
/home/martijn/svn/ktorrent/plasma/applet/applet.cpp:378: error: expected `;' before ‘i’
/home/martijn/svn/ktorrent/plasma/applet/applet.cpp:378: error: ‘i’ was not declared in this scope
/home/martijn/svn/ktorrent/plasma/applet/applet.cpp:378: error: ‘tasks’ was not declared in this scope
make[2]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/applet.o] Error 1
make[1]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/all] Error 2
make: *** [all] Error 2



Something todo with the added plasma code lately i guess.
George
Moderator
Posts
5421
Karma
1

Fri Sep 05, 2008 5:52 pm
sudo apt-get install kdebase-workspace-dev

I should add a cmake check for this

The taskmanager library is needed to show the ktorrent window when you click on the ktorrent icon of the applet.
stoeptegel
Registered Member
Posts
1075
Karma
0

Sun Sep 07, 2008 3:23 pm
George wrote:sudo apt-get install kdebase-workspace-dev

I should add a cmake check for this

The taskmanager library is needed to show the ktorrent window when you click on the ktorrent icon of the applet.


Unfortunately, i got this when i installed this package:
Code: Select all
$ sudo apt-get install kdebase-workspace-dev
[sudo] password for martijn:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  kdebase-workspace-dev: Depends: kdebase-workspace-libs4+5 (= 4:4.1.1-1) but it is not going to be installed
                         Depends: libkwineffects1 (= 4:4.1.1-1) but 4:4.1.0-1 is to be installed
                         Depends: libkdecorations4 (= 4:4.1.1-1) but 4:4.1.0-1 is to be installed
                         Depends: libplasma-dev (= 4:4.1.1-1) but it is not going to be installed
E: Broken packages


This is on debian sid (sidux).
MoDaX
Registered Member
Posts
241
Karma
0
OS

Sun Sep 07, 2008 3:31 pm
Code: Select all
# apt-get -t experimental install kdebase-workspace-dev libplasma-dev


or better yet use aptitude

Code: Select all
# aptitude -t experimental install kdebase-workspace-dev libplasma-dev


You may also need to install libx11-dev and/or other X11 headers if you get a failure due to missing X11.h.
MoDaX
Registered Member
Posts
241
Karma
0
OS

Sun Sep 07, 2008 3:37 pm
However, if you're using KDE 3 desktop, you might not be able to install these development packages. You can either build in chroot or upgrade to KDE 4.1 (instructions). On the other hand, ktorrent should not forcefully depend on plasma & workspace stuff..


Bookmarks



Who is online

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