You are not logged in.

1

Friday, October 31st 2008, 5:31pm

Missing Kdecoration_p.h while compling Compiz from source.

Hi all, I am trying to install Compiz-fusion on my system. My distro is BackTrack3 which is based off of Slackware and I am using KDE 4.1. My graphics card is an Nvidia Geforce Go 6200/6400.
During the compiling of Compiz I got this error...

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Making all in kde                                                    
make[2]: Entering directory `/root/compiz-0.7.8/kde'                 
Making all in window-decorator                                       
make[3]: Entering directory `/root/compiz-0.7.8/kde/window-decorator'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/opt/kde3/lib/qt3/include -I/opt/kde3/include    -g -O2 -Wall -D_FORTIFY_SOURCE=2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp                                                                                                                 
In file included from main.cpp:32:                                                                                                                                                 
decorator.h:37:35: error: kdecoration_plugins_p.h: No such file or directory                                                                                                       
decorator.h:38:27: error: kdecoration_p.h: No such file or directory                                                                                                               
In file included from /usr/lib/qt/include/QtGui/QIcon:1,                                                                                                                           
                 from /usr/include/kdecoration.h:31,                                                                                                                               
                 from options.h:27,                                                                                                                                                
                 from window.h:37,                                                                                                                                                 
                 from decorator.h:46,
                 from main.cpp:32:
/usr/lib/qt/include/QtGui/qicon.h:45: error: 'QT_BEGIN_HEADER' does not name a type
/usr/lib/qt/include/QtGui/qicon.h:55: error: function definition does not declare parameters
/usr/lib/qt/include/QtGui/qicon.h:121: error: expected constructor, destructor, or type conversion before '(' token
/usr/lib/qt/include/QtGui/qicon.h:125: error: expected initializer before '&' token
/usr/lib/qt/include/QtGui/qicon.h:126: error: expected initializer before '&' token
/usr/lib/qt/include/QtGui/qicon.h:133: error: 'QT_END_NAMESPACE' does not name a type
In file included from options.h:27,
                 from window.h:37,
                 from decorator.h:46,
                 from main.cpp:32:
/usr/include/kdecoration.h:321: error: 'class Qt::MouseButtons' has not been declared
/usr/include/kdecoration.h:486: error: 'QIcon' does not name a type
/usr/include/kdecoration.h:671: error: expected primary-expression before 'void'
/usr/include/kdecoration.h:671: error: expected ';' before 'void'
/usr/include/kdecoration.h:769: error: expected `:' before 'Q_SLOTS'
/usr/include/kdecoration.h:779: error: expected primary-expression before 'void'
/usr/include/kdecoration.h:779: error: expected ';' before 'void'
/usr/include/kdecoration.h:785: error: 'class Qt::MouseButtons' has not been declared
In file included from decorator.h:46,
                 from main.cpp:32:
window.h:45: error: invalid use of incomplete type 'struct KDecorationBridge'
/usr/include/kdecoration.h:45: error: forward declaration of 'struct KDecorationBridge'
window.h:64: error: 'MaximizeMode' does not name a type
window.h:83: error: 'WindowOperation' has not been declared
window.h:92: error: 'MaximizeMode' has not been declared
window.h:208: error: field 'mIcons' has incomplete type
In file included from main.cpp:32:
decorator.h:79: error: expected class-name before '{' token
decorator.h:82: error: 'Requirement' has not been declared
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/root/compiz-0.7.8/kde/window-decorator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/compiz-0.7.8/kde'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/compiz-0.7.8'
make: *** [all] Error 2


I assume that things go wrong when it looks for these files...

Source code

1
2
decorator.h:37:35: error: kdecoration_plugins_p.h: No such file or directory                                                                                                       
decorator.h:38:27: error: kdecoration_p.h: No such file or directory


The guys at the Compiz forums have told me that I'm missing an extra devel package for KDE but I can't seem to figure out what exactly I need. Any help or a point in the right direction is awesome. Thanks!