[Comm] Стиль KDE - Domino
Владимир Гусев
=?iso-8859-1?q?vova1971_=CE=C1_narod=2Eru?=
Вс Май 20 02:08:58 MSD 2007
> Пытаюсь собрать для ALC 3.0 стиль КДЕ - Domino. За основу взял спек стиля
> lipstik, просмотрел ключи конфигурирования - оставил те, что уже были в
> спеке. Однако при сборке (gcc 3.4) часть строк - сплошные ошибки (спек и
> вывод сборки см. во вложении). Например:
> dominoclient.moc:100: error: `KCommonDecoration' has not been declared и
> т.д.
> Чего не хватает?
Что-то перенаправленный в текстовый файл вывод сборки оказался неполным.
Привожу полный вывод:
[vova на vova SPECS]$ rpm -ba kde-styles-domino.spec > domino.txt
+ umask 022
+ /bin/mkdir -p /home/vova/RPM/BUILD
+ cd /home/vova/RPM/BUILD
+ cd /home/vova/RPM/BUILD
+ rm -rf domino-0.4
+ echo 'Source #0 (42804-domino-0.4.tar.bz2):'
+ /bin/bzip2 -dc /home/vova/RPM/SOURCES/42804-domino-0.4.tar.bz2
+ /bin/tar -xf -
+ cd domino-0.4
+ /bin/chmod -Rf u+rwX,go-w .
+ subst 's/\.la/.so/g' configure
+ exit 0
+ umask 022
+ /bin/mkdir -p /home/vova/RPM/BUILD
+ cd /home/vova/RPM/BUILD
+ cd domino-0.4
+ export 'CFLAGS=-pipe -Wall -O2 -march=pentium4' 'CPPFLAGS=-pipe -Wall
-O2 -march=pentium4' 'CXXFLAGS=-pipe -Wall -O2 -march=pentium4'
+ CFLAGS=-pipe -Wall -O2 -march=pentium4
+ CPPFLAGS=-pipe -Wall -O2 -march=pentium4
+ CXXFLAGS=-pipe -Wall -O2 -march=pentium4
+ CFLAGS=-pipe -Wall -O2 -march=pentium4
+ export CFLAGS
+ CXXFLAGS=-pipe -Wall -O2 -march=pentium4
+ export CXXFLAGS
+ FFLAGS=-pipe -Wall -O2 -march=pentium4
+ export FFLAGS
+ '[' -f configure.ac -o -f configure.in ']'
+ libtoolize --copy --force
+ ./configure --build=pentium4-alt-linux --host=pentium4-alt-linux
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --without-included-gettext --disable-debug
--disable-rpath --enable-shared --without-arts --enable-final
wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1225.
+ make
In file included from dominoclient.cpp:10:
dominoclient.h:13:31: kcommondecoration.h: No such file or directory
dominoclient.h:14:32: kdecorationfactory.h: No such file or directory
In file included from dominoclient.cpp:10:
dominoclient.h:23: error: expected class-name before '{' token
dominoclient.h:27: error: ISO C++ forbids declaration of `KDecoration'
with no type
dominoclient.h:27: error: expected `;' before '*' token
dominoclient.h:29: error: `Ability' has not been declared
dominoclient.h:29: error: ISO C++ forbids declaration of `ability' with no
type
dominoclient.h:52: error: expected class-name before '{' token
dominoclient.h:54: error: expected `)' before "type"
dominoclient.h:71: error: expected class-name before '{' token
dominoclient.h:74: error: expected `)' before '*' token
dominoclient.h:80: error: `DecorationBehaviour' has not been declared
dominoclient.h:80: error: ISO C++ forbids declaration of `behaviour' with
no type
dominoclient.h:81: error: `LayoutMetric' has not been declared
dominoclient.h:81: error: expected `,' or `...' before '*' token
dominoclient.h:81: error: ISO C++ forbids declaration of `lm' with no type
dominoclient.h:81: error: ISO C++ forbids declaration of
`KCommonDecorationButton' with no type
dominoclient.h:82: error: ISO C++ forbids declaration of
`KCommonDecorationButton' with no type
dominoclient.h:82: error: `KCommonDecorationButton' declared as a
`virtual' field
dominoclient.h:82: error: expected `;' before '*' token
dominoclient.h:105: error: ISO C++ forbids declaration of `QButton' with
no type
dominoclient.h:105: error: expected `;' before '*' token
dominoclient.cpp:119: error: expected constructor, destructor, or type
conversion before '*' token
dominoclient.cpp: In member function `bool
Domino::DominoHandler::reset(long unsigned int)':
dominoclient.cpp:128: error: `SettingColors' was not declared in this scope
dominoclient.cpp:128: warning: unused variable 'SettingColors'
dominoclient.cpp:135: error: `SettingDecoration' was not declared in this
scope
dominoclient.cpp:135: error: `SettingFont' was not declared in this scope
dominoclient.cpp:135: error: `SettingBorder' was not declared in this scope
dominoclient.cpp:138: error: `resetDecorations' was not declared in this
scope
dominoclient.cpp:135: warning: unused variable 'SettingDecoration'
dominoclient.cpp:135: warning: unused variable 'SettingFont'
dominoclient.cpp:135: warning: unused variable 'SettingBorder'
dominoclient.cpp:138: warning: unused variable 'resetDecorations'
dominoclient.cpp: In member function `long unsigned int
Domino::DominoHandler::readConfig(bool)':
dominoclient.cpp:149: error: `options' was not declared in this scope
dominoclient.cpp:177: error: `SettingColors' was not declared in this scope
dominoclient.cpp:177: warning: unused variable 'SettingColors'
dominoclient.cpp: At global scope:
dominoclient.cpp:491: error: `bool Domino::DominoHandler::supports' is not
a static member of `class Domino::DominoHandler'
dominoclient.cpp:491: error: `Ability' was not declared in this scope
dominoclient.cpp:492: error: expected `,' or `;' before '{' token
dominoclient.cpp:514: error: expected `)' before "type"
dominoclient.cpp: In member function `void
Domino::DominoButton::reset(long unsigned int)':
dominoclient.cpp:540: error: `SizeChange' was not declared in this scope
dominoclient.cpp:540: error: `ManualReset' was not declared in this scope
dominoclient.cpp:541: error: `setBackgroundOrigin' was not declared in
this scope
dominoclient.cpp:542: error: `setErasePixmap' was not declared in this
scope
dominoclient.cpp:541: warning: unused variable 'setBackgroundOrigin'
dominoclient.cpp:542: warning: unused variable 'setErasePixmap'
dominoclient.cpp:540: warning: unused variable 'SizeChange'
dominoclient.cpp:540: warning: unused variable 'ManualReset'
dominoclient.cpp:546: error: `DecorationReset' was not declared in this
scope
dominoclient.cpp:546: error: `ManualReset' was not declared in this scope
dominoclient.cpp:546: error: `SizeChange' was not declared in this scope
dominoclient.cpp:546: error: `StateChange' was not declared in this scope
dominoclient.cpp:547: error: 'class Domino::DominoButton' has no member
named 'update'
dominoclient.cpp:546: warning: unused variable 'DecorationReset'
dominoclient.cpp:546: warning: unused variable 'ManualReset'
dominoclient.cpp:546: warning: unused variable 'SizeChange'
dominoclient.cpp:546: warning: unused variable 'StateChange'
dominoclient.cpp: In member function `void
Domino::DominoButton::drawButton(QPainter*)':
dominoclient.cpp:559: error: `isDown' was not declared in this scope
dominoclient.cpp:559: error: `isOn' was not declared in this scope
dominoclient.cpp:560: error: `decoration' was not declared in this scope
dominoclient.cpp:561: error: `type' was not declared in this scope
dominoclient.cpp:562: error: `CloseButton' was not declared in this scope
dominoclient.cpp:565: error: `HelpButton' was not declared in this scope
dominoclient.cpp:568: error: `MinButton' was not declared in this scope
dominoclient.cpp:571: error: `MaxButton' was not declared in this scope
dominoclient.cpp:574: error: `OnAllDesktopsButton' was not declared in
this scope
dominoclient.cpp:577: error: `ShadeButton' was not declared in this scope
dominoclient.cpp:580: error: `AboveButton' was not declared in this scope
dominoclient.cpp:583: error: `BelowButton' was not declared in this scope
dominoclient.cpp:586: error: `MenuButton' was not declared in this scope
dominoclient.cpp:562: warning: unused variable 'CloseButton'
dominoclient.cpp:565: warning: unused variable 'HelpButton'
dominoclient.cpp:568: warning: unused variable 'MinButton'
dominoclient.cpp:571: warning: unused variable 'MaxButton'
dominoclient.cpp:574: warning: unused variable 'OnAllDesktopsButton'
dominoclient.cpp:577: warning: unused variable 'ShadeButton'
dominoclient.cpp:580: warning: unused variable 'AboveButton'
dominoclient.cpp:583: warning: unused variable 'BelowButton'
dominoclient.cpp:586: warning: unused variable 'MenuButton'
dominoclient.cpp:561: warning: unused variable 'type'
dominoclient.cpp:592: error: `type' was not declared in this scope
dominoclient.cpp:592: error: `MenuButton' was not declared in this scope
dominoclient.cpp:559: warning: unused variable 'isDown'
dominoclient.cpp:559: warning: unused variable 'isOn'
dominoclient.cpp: In member function `void
Domino::DominoButton::enterEvent(QEvent*)':
dominoclient.cpp:603: error: 'class Domino::DominoClient' has no member
named 'isActive'
dominoclient.cpp:607: error: `repaint' was not declared in this scope
dominoclient.cpp:607: warning: unused variable 'repaint'
dominoclient.cpp: In member function `void
Domino::DominoButton::leaveEvent(QEvent*)':
dominoclient.cpp:614: error: `repaint' was not declared in this scope
dominoclient.cpp:614: warning: unused variable 'repaint'
dominoclient.cpp: At global scope:
dominoclient.cpp:621: error: expected `)' before '*' token
dominoclient.cpp:654: error: `bool
Domino::DominoClient::decorationBehaviour' is not a static member of
`class Domino::DominoClient'
dominoclient.cpp:654: error: `DecorationBehaviour' was not declared in
this scope
dominoclient.cpp:654: error: expected `,' or `;' before "const"
dominoclient.cpp:668: error: `int Domino::DominoClient::layoutMetric' is
not a static member of `class Domino::DominoClient'
dominoclient.cpp:668: error: `LayoutMetric' was not declared in this scope
dominoclient.cpp:668: error: expected primary-expression before "bool"
dominoclient.cpp:668: error: expected primary-expression before "const"
dominoclient.cpp:668: error: initializer expression list treated as
compound expression
dominoclient.cpp:668: error: expected `,' or `;' before "const"
dominoclient.cpp:720: error: expected constructor, destructor, or type
conversion before '*' token
dominoclient.cpp: In member function `void Domino::DominoClient::init()':
dominoclient.cpp:763: error: `menuButton' was not declared in this scope
dominoclient.cpp:766: error: `KDecoration' has not been declared
dominoclient.cpp:766: error: `initialParentWidget' was not declared in
this scope
dominoclient.cpp:766: error: `WNoAutoErase' was not declared in this scope
dominoclient.cpp:766: error: `WStaticContents' was not declared in this
scope
dominoclient.cpp:767: error: `setMainWidget' was not declared in this scope
dominoclient.cpp:769: error: `widget' was not declared in this scope
dominoclient.cpp:769: error: `NoBackground' was not declared in this scope
dominoclient.cpp:773: error: `KCommonDecoration' has not been declared
dominoclient.cpp:773: error: `SettingButtons' was not declared in this
scope
dominoclient.cpp:775: error: `connect' was not declared in this scope
dominoclient.cpp:763: warning: unused variable 'menuButton'
dominoclient.cpp:766: warning: unused variable 'initialParentWidget'
dominoclient.cpp:766: warning: unused variable 'WNoAutoErase'
dominoclient.cpp:766: warning: unused variable 'WStaticContents'
dominoclient.cpp:767: warning: unused variable 'setMainWidget'
dominoclient.cpp:769: warning: unused variable 'NoBackground'
dominoclient.cpp:773: warning: unused variable 'SettingButtons'
dominoclient.cpp: In member function `void
Domino::DominoClient::createLayout()':
dominoclient.cpp:784: error: `widget' was not declared in this scope
dominoclient.cpp: In member function `void
Domino::DominoClient::reset(long unsigned int)':
dominoclient.cpp:858: error: `widget' was not declared in this scope
dominoclient.cpp:859: error: `KCommonDecoration' has not been declared
dominoclient.cpp:860: error: `KCommonDecoration' has not been declared
dominoclient.cpp:860: error: `resetButtons' was not declared in this scope
dominoclient.cpp:858: warning: unused variable 'widget'
dominoclient.cpp:860: warning: unused variable 'resetButtons'
dominoclient.cpp: In member function `void
Domino::DominoClient::updateMask()':
dominoclient.cpp:869: error: `maximizeMode' was not declared in this scope
dominoclient.cpp:869: error: `MaximizeFull' was not declared in this scope
dominoclient.cpp:869: error: `options' was not declared in this scope
dominoclient.cpp:870: error: `clearMask' was not declared in this scope
dominoclient.cpp:870: warning: unused variable 'clearMask'
dominoclient.cpp:869: warning: unused variable 'maximizeMode'
dominoclient.cpp:869: warning: unused variable 'MaximizeFull'
dominoclient.cpp:869: warning: unused variable 'options'
dominoclient.cpp:873: error: `widget' was not declared in this scope
dominoclient.cpp:880: error: `setMask' was not declared in this scope
dominoclient.cpp:873: warning: unused variable 'widget'
dominoclient.cpp:880: warning: unused variable 'setMask'
dominoclient.cpp: In member function `void
Domino::DominoClient::updateCaption()':
dominoclient.cpp:892: error: `buttonsLeftWidth' was not declared in this
scope
dominoclient.cpp:893: error: `buttonsRightWidth' was not declared in this
scope
dominoclient.cpp:895: error: `options' was not declared in this scope
dominoclient.cpp:897: error: `caption' was not declared in this scope
dominoclient.cpp:903: error: `KDecorationDefines' has not been declared
dominoclient.cpp:903: error: `ColorFont' was not declared in this scope
dominoclient.cpp:903: error: `isActive' was not declared in this scope
dominoclient.cpp:892: warning: unused variable 'buttonsLeftWidth'
dominoclient.cpp:893: warning: unused variable 'buttonsRightWidth'
dominoclient.cpp:903: warning: unused variable 'ColorFont'
dominoclient.cpp:903: warning: unused variable 'isActive'
dominoclient.cpp: In member function `void
Domino::DominoClient::activeChange()':
dominoclient.cpp:914: error: `updateButtons' was not declared in this scope
dominoclient.cpp:914: warning: unused variable 'updateButtons'
dominoclient.cpp: In member function `void
Domino::DominoClient::iconChange()':
dominoclient.cpp:920: error: `menuButton' was not declared in this scope
dominoclient.cpp:922: error: `KDecoration' has not been declared
dominoclient.cpp:922: error: no match for call to `(QPixmap) ()'
dominoclient.cpp:922: error: incomplete type `QIconSet' used in nested
name specifier
dominoclient.cpp:922: error: incomplete type `QIconSet' used in nested
name specifier
dominoclient.cpp: In member function `void
Domino::DominoClient::menuButtonDestroyed()':
dominoclient.cpp:932: error: `menuButton' was not declared in this scope
dominoclient.cpp:932: warning: unused variable 'menuButton'
dominoclient.cpp: In member function `void
Domino::DominoClient::slotShade()':
dominoclient.cpp:937: error: `isSetShade' was not declared in this scope
dominoclient.cpp:937: error: `setShade' was not declared in this scope
dominoclient.cpp:937: warning: unused variable 'isSetShade'
dominoclient.cpp:937: warning: unused variable 'setShade'
dominoclient.cpp: In member function `void
Domino::DominoClient::borders(int&, int&, int&, int&) const':
dominoclient.cpp:944: error: `LM_BorderLeft' was not declared in this scope
dominoclient.cpp:945: error: `LM_BorderRight' was not declared in this
scope
dominoclient.cpp:946: error: `LM_BorderBottom' was not declared in this
scope
dominoclient.cpp:947: error: `LM_TitleHeight' was not declared in this
scope
dominoclient.cpp:948: error: `LM_TitleEdgeTop' was not declared in this
scope
dominoclient.cpp:949: error: `LM_TitleEdgeBottom' was not declared in this
scope
dominoclient.cpp:951: error: `widget' was not declared in this scope
dominoclient.cpp:944: warning: unused variable 'LM_BorderLeft'
dominoclient.cpp:945: warning: unused variable 'LM_BorderRight'
dominoclient.cpp:946: warning: unused variable 'LM_BorderBottom'
dominoclient.cpp:947: warning: unused variable 'LM_TitleHeight'
dominoclient.cpp:948: warning: unused variable 'LM_TitleEdgeTop'
dominoclient.cpp:949: warning: unused variable 'LM_TitleEdgeBottom'
dominoclient.cpp:951: warning: unused variable 'widget'
dominoclient.cpp: In member function `void
Domino::DominoClient::shadeChange()':
dominoclient.cpp:957: error: `isSetShade' was not declared in this scope
dominoclient.cpp:957: warning: unused variable 'isSetShade'
dominoclient.cpp:968: error: `widget' was not declared in this scope
dominoclient.cpp:968: warning: unused variable 'widget'
dominoclient.cpp: In member function `void
Domino::DominoClient::resize(const QSize&)':
dominoclient.cpp:974: error: `widget' was not declared in this scope
dominoclient.cpp:975: error: `maximizeMode' was not declared in this scope
dominoclient.cpp:975: error: `MaximizeFull' was not declared in this scope
dominoclient.cpp:975: error: `options' was not declared in this scope
dominoclient.cpp:975: warning: unused variable 'maximizeMode'
dominoclient.cpp:975: warning: unused variable 'MaximizeFull'
dominoclient.cpp:975: warning: unused variable 'options'
dominoclient.cpp:974: warning: unused variable 'widget'
dominoclient.cpp: In member function `void
Domino::DominoClient::resizeEvent(QResizeEvent*)':
dominoclient.cpp:999: error: `KCommonDecoration' has not been declared
dominoclient.cpp: In member function `bool
Domino::DominoClient::eventFilter(QObject*, QEvent*)':
dominoclient.cpp:1028: error: `mouseDoubleClickEvent' was not declared in
this scope
dominoclient.cpp:1031: error: `isSetShade' was not declared in this scope
dominoclient.cpp:1032: error: `wheelEvent' was not declared in this scope
dominoclient.cpp:1032: warning: unused variable 'wheelEvent'
dominoclient.cpp:1031: warning: unused variable 'isSetShade'
dominoclient.cpp:1035: error: `processMousePressEvent' was not declared in
this scope
dominoclient.cpp:1040: error: `updateButtons' was not declared in this
scope
dominoclient.cpp:1028: warning: unused variable 'mouseDoubleClickEvent'
dominoclient.cpp:1035: warning: unused variable 'processMousePressEvent'
dominoclient.cpp: In member function `virtual void
Domino::TitleBar::enterEvent(QEvent*)':
dominoclient.cpp:1060: error: 'class Domino::DominoClient' has no member
named 'isActive'
dominoclient.cpp:1066: error: 'class Domino::DominoClient' has no member
named 'updateButtons'
dominoclient.cpp: In member function `virtual bool
Domino::TitleBar::eventFilter(QObject*, QEvent*)':
dominoclient.cpp:1074: error: 'class Domino::DominoClient' has no member
named 'isActive'
dominoclient.cpp:1076: error: `QButton' has not been declared
dominoclient.cpp:1076: error: expected `>' before '*' token
dominoclient.cpp:1076: error: expected `(' before '*' token
dominoclient.cpp:1076: error: expected primary-expression before '>' token
dominoclient.cpp:1076: error: expected `)' before '{' token
dominoclient.cpp:1083: error: expected primary-expression before '}' token
dominoclient.cpp:1083: error: expected `;' before '}' token
dominoclient.cpp: At global scope:
dominoclient.cpp:1176: error: expected constructor, destructor, or type
conversion before '*' token
In file included from dominoclient.cpp:1181:
dominoclient.moc: In static member function `static QMetaObject*
Domino::DominoClient::staticMetaObject()':
dominoclient.moc:54: error: `KCommonDecoration' has not been declared
dominoclient.moc: In member function `virtual void*
Domino::DominoClient::qt_cast(const char*)':
dominoclient.moc:78: error: `KCommonDecoration' has not been declared
dominoclient.moc: In member function `virtual bool
Domino::DominoClient::qt_invoke(int, QUObject*)':
dominoclient.moc:87: error: `KCommonDecoration' has not been declared
dominoclient.moc: In member function `virtual bool
Domino::DominoClient::qt_emit(int, QUObject*)':
dominoclient.moc:94: error: `KCommonDecoration' has not been declared
dominoclient.moc: In member function `virtual bool
Domino::DominoClient::qt_property(int, int, QVariant*)':
dominoclient.moc:100: error: `KCommonDecoration' has not been declared
make[3]: *** [dominoclient.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
ошибка: Неверный код возврата из /home/vova/tmp/rpm-tmp.2332 (%build)
Неверный код возврата из /home/vova/tmp/rpm-tmp.2332 (%build)
--
С уважением, Владимир Гусев
Подробная информация о списке рассылки community