• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Fensterdekoration Crystal / Fehler bei make (gelöst)

Rave

Newbie
Hallo Zusammen!

Da versuche ich mein erstes Programm selbst zu kompilieren, und es klappt nicht. Seltsam. :wink:
Was mache ich falsch? Ich möchte dieses Programm hier installieren:
http://www.kde-look.org/content/show.php?content=13969
Ich nutze open Suse 10.2
./configure schließt mittlerweile ohne Fehlermeldung ab.
make leider nur mit einem ganzen Haufen Fehlermeldungen. Die da wären:

cd . && make -f admin/Makefile.common configure.in ;
make all-recursive
make[1]: Entering directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2'
cd . && make -f admin/Makefile.common configure.in ;
Making all in pics
make[2]: Entering directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2/pics'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2/pics'
Making all in client
make[2]: Entering directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2/client'
Making all in config
make[3]: Entering directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2/client/config'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2/client/config'
make[3]: Entering directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2/client'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I. -I/opt/kde3/include/kwin -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -MT crystalclient.lo -MD -MP -MF ".deps/crystalclient.Tpo" \
-c -o crystalclient.lo `test -f 'crystalclient.cc' || echo './'`crystalclient.cc; \
then mv -f ".deps/crystalclient.Tpo" ".deps/crystalclient.Plo"; \
else rm -f ".deps/crystalclient.Tpo"; exit 1; \
fi
In file included from crystalclient.cc:36:
crystalclient.h:31:25: error: kdecoration.h: No such file or directory
crystalclient.h:32:32: error: kdecorationfactory.h: No such file or directory
crystalclient.cc:134:5: warning: "KDE_IS_VERSION" is not defined
crystalclient.cc:134:19: error: missing binary operator before token "("
crystalclient.cc:1050:5: warning: "KDE_IS_VERSION" is not defined
crystalclient.cc:1050:19: error: missing binary operator before token "("
crystalclient.h:101: error: expected class-name before ‘{’ token
crystalclient.h:105: error: ISO C++ forbids declaration of ‘KDecoration’ with no type
crystalclient.h:105: error: ‘KDecoration’ declared as a ‘virtual’ field
crystalclient.h:105: error: expected ‘;’ before ‘*’ token
crystalclient.h:107: error: ‘Ability’ has not been declared
crystalclient.h:145: error: expected class-name before ‘{’ token
crystalclient.h:148: error: expected `)' before ‘*’ token
crystalclient.h:163: error: ‘Position’ does not name a type
crystalclient.cc:52: error: expected constructor, destructor, or type conversion before ‘*’ token
crystalclient.cc:62: warning: ‘class CCrystalTooltip’ has virtual functions but non-virtual destructor
crystalclient.cc: In member function ‘virtual void CCrystalTooltip::maybeTip(const QPoint&)’:
crystalclient.cc:71: error: ‘class CrystalClient’ has no member named ‘caption’
crystalclient.cc: At global scope:
crystalclient.cc:105: error: expected constructor, destructor, or type conversion before ‘*’ token
crystalclient.cc:130: error: ‘bool CrystalFactory::supports’ is not a static member of ‘class CrystalFactory’
crystalclient.cc:130: error: ‘Ability’ was not declared in this scope
crystalclient.cc:131: error: expected ‘,’ or ‘;’ before ‘{’ token
crystalclient.cc:579: error: expected `)' before ‘*’ token
crystalclient.cc: In member function ‘virtual void CrystalClient::init()’:
crystalclient.cc:595: error: ‘WResizeNoErase’ was not declared in this scope
crystalclient.cc:595: error: ‘WRepaintNoErase’ was not declared in this scope
crystalclient.cc:595: error: ‘createMainWidget’ was not declared in this scope
crystalclient.cc:596: error: ‘widget’ was not declared in this scope
crystalclient.cc:599: error: ‘options’ was not declared in this scope
crystalclient.cc:600: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:600: error: ‘MaximizeFull’ was not declared in this scope
crystalclient.cc:603: error: ‘NoBackground’ was not declared in this scope
crystalclient.cc:619: error: ‘isPreview’ was not declared in this scope
crystalclient.cc:635: error: ‘options’ was not declared in this scope
crystalclient.cc:644: error: ‘connect’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::updateMask()’:
crystalclient.cc:655: error: ‘options’ was not declared in this scope
crystalclient.cc:655: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:655: error: ‘MaximizeFull’ was not declared in this scope
crystalclient.cc:657: error: ‘widget’ was not declared in this scope
crystalclient.cc:657: error: ‘setMask’ was not declared in this scope
crystalclient.cc:662: error: ‘width’ was not declared in this scope
crystalclient.cc:663: error: ‘height’ was not declared in this scope
crystalclient.cc:666: error: ‘widget’ was not declared in this scope
crystalclient.cc:697: error: ‘setMask’ was not declared in this scope
crystalclient.cc: In member function ‘CrystalButton* CrystalClient::addButtons(QBoxLayout*, const QString&)’:
crystalclient.cc:715: error: ‘connect’ was not declared in this scope
crystalclient.cc:721: error: ‘isOnAllDesktops’ was not declared in this scope
crystalclient.cc:729: error: ‘connect’ was not declared in this scope
crystalclient.cc:734: error: ‘providesContextHelp’ was not declared in this scope
crystalclient.cc:737: error: ‘connect’ was not declared in this scope
crystalclient.cc:742: error: ‘isMinimizable’ was not declared in this scope
crystalclient.cc:745: error: ‘connect’ was not declared in this scope
crystalclient.cc:752: error: ‘keepAbove’ was not declared in this scope
crystalclient.cc:753: error: ‘connect’ was not declared in this scope
crystalclient.cc:760: error: ‘keepBelow’ was not declared in this scope
crystalclient.cc:761: error: ‘connect’ was not declared in this scope
crystalclient.cc:766: error: ‘isShadeable’ was not declared in this scope
crystalclient.cc:769: error: ‘connect’ was not declared in this scope
crystalclient.cc:774: error: ‘isMaximizable’ was not declared in this scope
crystalclient.cc:776: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:776: error: ‘MaximizeFull’ was not declared in this scope
crystalclient.cc:786: error: ‘connect’ was not declared in this scope
crystalclient.cc:791: error: ‘isCloseable’ was not declared in this scope
crystalclient.cc:794: error: ‘connect’ was not declared in this scope
crystalclient.cc: In member function ‘virtual void CrystalClient::activeChange()’:
crystalclient.cc:818: error: ‘isActive’ was not declared in this scope
crystalclient.cc: In member function ‘virtual void CrystalClient::captionChange()’:
crystalclient.cc:823: error: ‘widget’ was not declared in this scope
crystalclient.cc: In member function ‘virtual void CrystalClient::desktopChange()’:
crystalclient.cc:828: error: ‘isOnAllDesktops’ was not declared in this scope
crystalclient.cc: In member function ‘virtual void CrystalClient::maximizeChange()’:
crystalclient.cc:845: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:845: error: ‘MaximizeFull’ was not declared in this scope
crystalclient.cc:852: error: ‘options’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::updateLayout()’:
crystalclient.cc:874: error: ‘widget’ was not declared in this scope
crystalclient.cc: In member function ‘virtual void CrystalClient::shadeChange()’:
crystalclient.cc:888: error: ‘isShade’ was not declared in this scope
crystalclient.cc: In member function ‘virtual void CrystalClient::borders(int&, int&, int&, int&) const’:
crystalclient.cc:898: error: ‘isShade’ was not declared in this scope
crystalclient.cc:900: error: ‘options’ was not declared in this scope
crystalclient.cc:902: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:902: error: ‘MaximizeHorizontal’ was not declared in this scope
crystalclient.cc:903: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:903: error: ‘MaximizeVertical’ was not declared in this scope
crystalclient.cc:905: error: ‘isShade’ was not declared in this scope
crystalclient.cc:906: error: ‘MaximizeHorizontal’ was not declared in this scope
crystalclient.cc:908: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:908: error: ‘MaximizeFull’ was not declared in this scope
crystalclient.cc: In member function ‘virtual void CrystalClient::resize(const QSize&)’:
crystalclient.cc:915: error: ‘widget’ was not declared in this scope
crystalclient.cc: In member function ‘virtual QSize CrystalClient::minimumSize() const’:
crystalclient.cc:920: error: ‘widget’ was not declared in this scope
crystalclient.cc: At global scope:
crystalclient.cc:923: error: ‘KDecoration’ has not been declared
crystalclient.cc:923: error: expected constructor, destructor, or type conversion before ‘CrystalClient’
crystalclient.cc: In member function ‘bool CrystalClient::eventFilter(QObject*, QEvent*)’:
crystalclient.cc:959: error: ‘widget’ was not declared in this scope
crystalclient.cc:966: error: ‘processMousePressEvent’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::ClientWindows(Window*, Window*, Window*)’:
crystalclient.cc:996: error: ‘widget’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::mouseDoubleClickEvent(QMouseEvent*)’:
crystalclient.cc:1015: error: ‘LeftButton’ was not declared in this scope
crystalclient.cc:1015: error: ‘titlebarDblClickOperation’ was not declared in this scope
crystalclient.cc:1018: error: ‘processMousePressEvent’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::mouseWheelEvent(QWheelEvent*)’:
crystalclient.cc:1028: error: ‘class CrystalClient’ has no member named ‘isActive’
crystalclient.cc:1045: error: ‘class CrystalClient’ has no member named ‘desktop’
crystalclient.cc:1045: error: ‘desktop’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::paintEvent(QPaintEvent*)’:
crystalclient.cc:1061: error: ‘widget’ was not declared in this scope
crystalclient.cc:1064: error: ‘options’ was not declared in this scope
crystalclient.cc:1064: error: ‘KDecoration’ has not been declared
crystalclient.cc:1064: error: ‘isActive’ was not declared in this scope
crystalclient.cc:1096: error: ‘KDecoration’ has not been declared
crystalclient.cc:1107: error: ‘caption’ was not declared in this scope
crystalclient.cc:1109: error: ‘AlignLeft’ was not declared in this scope
crystalclient.cc:1115: error: ‘AlignVCenter’ was not declared in this scope
crystalclient.cc:1121: error: ‘AlignVCenter’ was not declared in this scope
crystalclient.cc:1126: error: ‘AlignLeft’ was not declared in this scope
crystalclient.cc:1127: error: ‘AlignLeft’ was not declared in this scope
crystalclient.cc:1129: error: ‘AlignRight’ was not declared in this scope
crystalclient.cc:1130: error: ‘AlignRight’ was not declared in this scope
crystalclient.cc:1132: error: ‘AlignHCenter’ was not declared in this scope
crystalclient.cc:1133: error: ‘AlignHCenter’ was not declared in this scope
crystalclient.cc:1141: error: ‘isShade’ was not declared in this scope
crystalclient.cc:1141: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:1141: error: ‘MaximizeFull’ was not declared in this scope
crystalclient.cc:1171: error: ‘isShade’ was not declared in this scope
crystalclient.cc:1220: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:1220: error: ‘MaximizeFull’ was not declared in this scope
crystalclient.cc:1223: error: ‘width’ was not declared in this scope
crystalclient.cc:1224: error: ‘height’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::resizeEvent(QResizeEvent*)’:
crystalclient.cc:1271: error: ‘widget’ was not declared in this scope
crystalclient.cc:1283: error: ‘isActive’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::moveEvent(QMoveEvent*)’:
crystalclient.cc:1296: error: ‘widget’ was not declared in this scope
crystalclient.cc:1307: error: ‘isActive’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::showEvent(QShowEvent*)’:
crystalclient.cc:1316: error: ‘widget’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::Repaint()’:
crystalclient.cc:1322: error: ‘widget’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::maxButtonPressed()’:
crystalclient.cc:1333: error: ‘MidButton’ was not declared in this scope
crystalclient.cc:1334: error: ‘maximizeMode’ was not declared in this scope
crystalclient.cc:1334: error: ‘MaximizeVertical’ was not declared in this scope
crystalclient.cc:1334: error: ‘maximize’ was not declared in this scope
crystalclient.cc:1336: error: ‘RightButton’ was not declared in this scope
crystalclient.cc:1337: error: ‘MaximizeHorizontal’ was not declared in this scope
crystalclient.cc:1340: error: ‘MaximizeFull’ was not declared in this scope
crystalclient.cc:1340: error: ‘MaximizeRestore’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::minButtonPressed()’:
crystalclient.cc:1349: error: ‘MidButton’ was not declared in this scope
crystalclient.cc:1350: error: ‘LowerOp’ was not declared in this scope
crystalclient.cc:1350: error: ‘performWindowOperation’ was not declared in this scope
crystalclient.cc:1379: error: ‘RightButton’ was not declared in this scope
crystalclient.cc:1380: error: ‘isShadeable’ was not declared in this scope
crystalclient.cc:1380: error: ‘isShade’ was not declared in this scope
crystalclient.cc:1380: error: ‘setShade’ was not declared in this scope
crystalclient.cc:1383: error: ‘minimize’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::aboveButtonPressed()’:
crystalclient.cc:1390: error: ‘keepAbove’ was not declared in this scope
crystalclient.cc:1390: error: ‘setKeepAbove’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::belowButtonPressed()’:
crystalclient.cc:1395: error: ‘keepBelow’ was not declared in this scope
crystalclient.cc:1395: error: ‘setKeepBelow’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::keepAboveChange(bool)’:
crystalclient.cc:1402: error: ‘keepAbove’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::keepBelowChange(bool)’:
crystalclient.cc:1410: error: ‘keepBelow’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::closeButtonPressed()’:
crystalclient.cc:1418: error: ‘RightButton’ was not declared in this scope
crystalclient.cc:1423: error: ‘closeWindow’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::shadeButtonPressed()’:
crystalclient.cc:1432: error: ‘MidButton’ was not declared in this scope
crystalclient.cc:1433: error: ‘RightButton’ was not declared in this scope
crystalclient.cc:1436: error: ‘isShadeable’ was not declared in this scope
crystalclient.cc:1436: error: ‘isShade’ was not declared in this scope
crystalclient.cc:1436: error: ‘setShade’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::menuButtonPressed()’:
crystalclient.cc:1455: error: ‘closeWindow’ was not declared in this scope
crystalclient.cc: In member function ‘void CrystalClient::menuPopUp()’:
crystalclient.cc:1466: error: ‘KDecorationFactory’ was not declared in this scope
crystalclient.cc:1466: error: ‘f’ was not declared in this scope
crystalclient.cc:1466: error: ‘factory’ cannot be used as a function
crystalclient.cc:1467: error: ‘showWindowMenu’ was not declared in this scope
crystalclient.moc: In static member function ‘static QMetaObject* CrystalClient::staticMetaObject()’:
crystalclient.moc:54: error: ‘KDecoration’ has not been declared
crystalclient.moc: In member function ‘virtual void* CrystalClient::qt_cast(const char*)’:
crystalclient.moc:102: error: ‘KDecoration’ has not been declared
crystalclient.moc: In member function ‘virtual bool CrystalClient::qt_invoke(int, QUObject*)’:
crystalclient.moc:120: error: ‘KDecoration’ has not been declared
crystalclient.moc: In member function ‘virtual bool CrystalClient::qt_emit(int, QUObject*)’:
crystalclient.moc:127: error: ‘KDecoration’ has not been declared
crystalclient.moc: In member function ‘virtual bool CrystalClient::qt_property(int, int, QVariant*)’:
crystalclient.moc:133: error: ‘KDecoration’ has not been declared
make[3]: *** [crystalclient.lo] Error 1
make[3]: Leaving directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kai/Downloads/KDE Themes/crystal/crystal-1.0.2'
make: *** [all] Error 2

Vielen Dank im Vorraus!

Grüße
Rave
 

b2890x

Member
Spar dir die Mühe und installier es über smart/apt. Zu finden im Guru-Repository (kde3-windeco-crystal).
Oder besorg dir das rpm direkt vom ftp .

Gruss
 
OP
R

Rave

Newbie
Danke, funktioniert.
Auch wenn das Problem mit dieser Lösung "nur" umgangen wurde, setzte ich das hier mal auf gelöst.

So denn, schöne Weihnachten.

Rave
 
Oben