Theme errors

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Theme errors

Postby Arch Angel Kiragis on Sun Feb 08, 2009 3:17 pm

Heyo, I'm trying to install a new theme in Mint, and though I've tried both the Crystal 3.2 and Polyester themes they both come up with the same error. I thought Crystal was because it was an old version, but now I'm thinking maybe it doesn't matter since I have both the 3.x and the 4.x builds for KDE, but that's an experiment for after I get this problem figgered out.

./configure works just fine, no errors and tells me to run make.

make comes up with this:
Good - your configure finished. Start make now

zach@COMPY-OF-DOOM ~/Desktop/polyester-1.0.5 $ make
Makefile:867: warning: overriding commands for target `clean-bcheck'
Makefile:830: warning: ignoring old commands for target `clean-bcheck'
Makefile:872: warning: overriding commands for target `bcheck-am'
Makefile:835: warning: ignoring old commands for target `bcheck-am'
make all-recursive
make[1]: Entering directory `/home/zach/Desktop/polyester-1.0.5'
Makefile:867: warning: overriding commands for target `clean-bcheck'
Makefile:830: warning: ignoring old commands for target `clean-bcheck'
Makefile:872: warning: overriding commands for target `bcheck-am'
Makefile:835: warning: ignoring old commands for target `bcheck-am'
Making all in client
make[2]: Entering directory `/home/zach/Desktop/polyester-1.0.5/client'
Making all in config
make[3]: Entering directory `/home/zach/Desktop/polyester-1.0.5/client/config'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zach/Desktop/polyester-1.0.5/client/config'
Making all in images
make[3]: Entering directory `/home/zach/Desktop/polyester-1.0.5/client/images'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/zach/Desktop/polyester-1.0.5/client/images'
make[3]: Entering directory `/home/zach/Desktop/polyester-1.0.5/client'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -I/usr/include/kde/kwin -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -MT polyester.lo -MD -MP -MF .deps/polyester.Tpo -c -o polyester.lo polyester.cc
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -I/usr/include/kde/kwin -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -MT polyester.lo -MD -MP -MF .deps/polyester.Tpo -c polyester.cc -fPIC -DPIC -o .libs/polyester.o
In file included from polyester.cc:38:
polyester.h:34:25: error: kdecoration.h: No such file or directory
polyester.h:35:32: error: kdecorationfactory.h: No such file or directory
In file included from /usr/share/qt3/include/qtextstream.h:46,
from /usr/share/qt3/include/qtl.h:46,
from /usr/share/qt3/include/qvaluelist.h:45,
from /usr/include/kde/kconfig.h:27,
from polyester.cc:17:
/usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() const':
/usr/share/qt3/include/qstring.h:197: warning: conversion to 'char' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/usr/share/qt3/include/qstring.h:222: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/usr/share/qt3/include/qstring.h:223: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/usr/share/qt3/include/qstring.h:267: warning: conversion to 'ushort' from 'int' may alter its value
/usr/share/qt3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/usr/share/qt3/include/qstring.h:365: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/usr/share/qt3/include/qstring.h:365: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
In file included from /usr/share/qt3/include/qobject.h:48,
from /usr/include/kde/kconfigbase.h:26,
from /usr/include/kde/kconfig.h:29,
from polyester.cc:17:
/usr/share/qt3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/share/qt3/include/qevent.h:523: warning: conversion to 'unsigned char' from 'uint' may alter its value
In file included from /usr/share/qt3/include/qwidget.h:52,
from /usr/share/qt3/include/qframe.h:45,
from /usr/share/qt3/include/qlabel.h:45,
from polyester.cc:28:
/usr/share/qt3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()':
/usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to 'uchar' from 'uint' may alter its value
/usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to 'uchar' from 'uint' may alter its value
In file included from polyester.cc:38:
polyester.h: At global scope:
polyester.h:73: error: expected class-name before '{' token
polyester.h:77: error: ISO C++ forbids declaration of 'KDecoration' with no type
polyester.h:77: error: 'KDecoration' declared as a 'virtual' field
polyester.h:77: error: expected ';' before '*' token
polyester.h:217: error: expected class-name before '{' token
polyester.h:220: error: expected `)' before '*' token
polyester.h:236: error: 'Position' does not name a type
In file included from buttons.h:27,
from polyester.cc:39:
/usr/share/qt3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around && within ||
polyester.cc: At global scope:
polyester.cc:79: error: expected constructor, destructor, or type conversion before '*' token
polyester.cc:107: error: expected constructor, destructor, or type conversion before '*' token
polyester.cc: In member function 'virtual bool polyester::polyesterFactory::reset(long unsigned int)':
polyester.cc:124: error: 'SettingDecoration' was not declared in this scope
polyester.cc:124: error: 'SettingButtons' was not declared in this scope
polyester.cc:124: error: 'SettingBorder' was not declared in this scope
polyester.cc:127: error: 'resetDecorations' was not declared in this scope
polyester.cc: In constructor 'polyester::polyesterButton::polyesterButton(polyester::polyesterClient*, const char*, const QString&, polyester::ButtonType, int, bool, bool)':
polyester.cc:187: error: 'class polyester::polyesterClient' has no member named 'widget'
polyester.cc: In member function 'QImage polyester::polyesterButton::getButtonImage(polyester::ButtonType)':
polyester.cc:373: error: 'class polyester::polyesterClient' has no member named 'maximizeMode'
polyester.cc:373: error: 'KDecorationDefines' has not been declared
polyester.cc:383: error: 'class polyester::polyesterClient' has no member named 'isOnAllDesktops'
polyester.cc:393: error: 'class polyester::polyesterClient' has no member named 'isShade'
polyester.cc:403: error: 'class polyester::polyesterClient' has no member named 'keepAbove'
polyester.cc:413: error: 'class polyester::polyesterClient' has no member named 'keepBelow'
polyester.cc:426: error: 'KDecoration' has not been declared
polyester.cc:426: error: 'KDecoration' has not been declared
polyester.cc:426: error: 'class polyester::polyesterClient' has no member named 'isActive'
polyester.cc: In member function 'virtual void polyester::polyesterButton::drawButton(QPainter*)':
polyester.cc:448: error: 'class polyester::polyesterClient' has no member named 'isActive'
polyester.cc:453: error: 'KDecoration' has not been declared
polyester.cc:453: error: 'KDecoration' has not been declared
polyester.cc:456: error: 'class polyester::polyesterClient' has no member named 'maximizeMode'
polyester.cc:456: error: 'class polyester::polyesterClient' has no member named 'MaximizeFull'
polyester.cc:456: error: 'KDecoration' has not been declared
polyester.cc:474: error: 'class polyester::polyesterClient' has no member named 'icon'
polyester.cc:474: error: incomplete type 'QIconSet' used in nested name specifier
polyester.cc:474: error: incomplete type 'QIconSet' used in nested name specifier
polyester.cc:502: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:503: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:504: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:505: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:514: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:515: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:516: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:517: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:521: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:522: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:523: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:524: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:528: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:529: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:530: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:531: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:535: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:536: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:537: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:538: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:543: warning: conversion to 'float' from 'double' may alter its value
polyester.cc:547: warning: conversion to 'float' from 'double' may alter its value
polyester.cc: In member function 'void polyester::polyesterButton::genButtonPix(bool)':
polyester.cc:570: error: 'KDecoration' has not been declared
polyester.cc:570: error: 'KDecoration' has not been declared
polyester.cc:570: error: 'class polyester::polyesterClient' has no member named 'isActive'
polyester.cc:699: error: 'class polyester::polyesterClient' has no member named 'isActive'
polyester.cc: At global scope:
polyester.cc:721: error: expected `)' before '*' token
In file included from polyester.cc:1858:
polyester.moc:245: fatal error: opening dependency file .deps/polyester.Tpo: Permission denied
compilation terminated.
make[3]: *** [polyester.lo] Error 1
make[3]: Leaving directory `/home/zach/Desktop/polyester-1.0.5/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zach/Desktop/polyester-1.0.5/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zach/Desktop/polyester-1.0.5'
make: *** [all] Error 2

Same error occurs in crystal, only it's crystal.cc instead of polyester.cc.

Seems to me it's likely tied to this KDecorator thing, but I have that installed and working fine, so I don't see why it should be a problem.
Arch Angel Kiragis
Level 1
Level 1
 
Posts: 5
Joined: Sun Feb 08, 2009 5:35 am

Linux Mint is funded by ads and donations.
 

Re: Theme errors

Postby Husse on Tue Feb 10, 2009 7:32 am

Have you installed build-essential?
Code: Select all
apt install build-essential
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Google Adsense [Bot], jollyjack, WharfRat and 33 guests