LINUX.ORG.RU

Проблема при установке Plastik на KDE...


0

0

Установил SuSE 9.1.
Он мне понравился. Работает гораздо быстрее 9.0 да и вообще он стал как то по лучше. Но....
Пытаюсь установить plastik....
$ su root
./configure --prefix=/opt/kde3
.... говорит что всё ок, делай make
$ make
....
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o kwin_plastik_config.la -rpath /opt/kde3/lib/kde3 -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib -avoid-version -module -no-undefined -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -module config.lo configdialog.lo -lkdeui
make[3]: Leaving directory `/home/alex/plastik-0.3.9/client/config'
make[3]: Entering directory `/home/alex/plastik-0.3.9/client'
/usr/lib/qt3/bin/moc ./plastik.h -o plastik.moc
source='plastik.cpp' object='plastik.lo' libtool=yes \
depfile='.deps/plastik.Plo' tmpdepfile='.deps/plastik.TPlo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
/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/usr/X11R6/include -I/opt/kde3/include/kwin -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -c -o plastik.lo `test -f 'plastik.cpp' || echo './'`plastik.cpp
In file included from plastik.cpp:24:
/opt/kde3/include/kwin/workspace.h:1:2: #error The KWin decorations API provided by this header file is obsolete.
/opt/kde3/include/kwin/workspace.h:2:2: #error All code using it will have to be ported to the new KDecoration API.
In file included from plastik.cpp:25:
/opt/kde3/include/kwin/options.h:1:2: #error The KWin decorations API provided by this header file is obsolete.
/opt/kde3/include/kwin/options.h:2:2: #error All code using it will have to be ported to the new KDecoration API.
In file included from plastik.h:26,
from plastik.cpp:28:
/opt/kde3/include/kwin/client.h:1:2: #error The KWin decorations API provided by this header file is obsolete.
/opt/kde3/include/kwin/client.h:2:2: #error All code using it will have to be ported to the new KDecoration API.
In file included from plastikclient.h:26,
from plastik.cpp:30:
/opt/kde3/include/kwin/client.h:1:2: #error The KWin decorations API provided by this header file is obsolete.
/opt/kde3/include/kwin/client.h:2:2: #error All code using it will have to be ported to the new KDecoration API.
In file included from plastik.cpp:30:
plastikclient.h:37: error: `Client' is not a class or namespace
plastikclient.h:37: error: invalid base-class specification
plastikclient.h:40: error: syntax error before `*' token
plastikclient.h:61: error: ISO C++ forbids declaration of `MousePosition' with
no type
plastikclient.h:61: error: `MousePosition' declared as a `virtual' field
plastikclient.h:61: error: syntax error before `(' token
plastikclient.h:69: error: `QBoxLayout' was not declared in this scope
plastikclient.h:69: error: `layout' was not declared in this scope
plastikclient.h:69: error: syntax error before `&' token
plastikclient.h:37: warning: `class KWinInternal::PlastikClient' has virtual
functions but non-virtual destructor
plastikclient.h: In member function `QPixmap
KWinInternal::PlastikClient::getTitleBarTile(bool) const':
plastikclient.h:44: error: return type `struct QPixmap' is incomplete
plastik.cpp: In member function `void KWinInternal::PlastikHandler::reset()':
plastik.cpp:59: error: `options' undeclared (first use this function)
plastik.cpp:59: error: (Each undeclared identifier is reported only once for
each function it appears in.)
plastik.cpp:69: error: `Workspace' undeclared (first use this function)
plastik.cpp:69: error: syntax error before `::' token
plastik.cpp: In static member function `static QColor
KWinInternal::PlastikHandler::getColor(KWinInternal::ColorType, bool)':
plastik.cpp:106: error: `Options' undeclared (first use this function)
plastik.cpp:106: error: syntax error before `::' token
plastik.cpp:108: error: syntax error before `::' token
plastik.cpp:111: error: syntax error before `::' token
plastik.cpp:115: error: syntax error before `::' token
plastik.cpp:120: error: syntax error before `::' token
plastik.cpp:125: error: syntax error before `::' token
plastik.cpp:129: error: syntax error before `::' token
plastik.cpp:131: error: syntax error before `::' token
plastik.cpp: At global scope:
plastik.cpp:145: error: syntax error before `*' token
plastik.cpp:165: error: syntax error before `}' token
plastik.cpp: In function `static QColor
KWinInternal::PlastikHandler::getColor(KWinInternal::ColorType, bool)':
plastik.cpp:103: warning: unused parameter `const bool active'
make[3]: *** [plastik.lo] Error 1
make[3]: Leaving directory `/home/alex/plastik-0.3.9/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/alex/plastik-0.3.9/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/plastik-0.3.9'
make: *** [all] Error 2
discovery:/home/alex/plastik-0.3.9 #

в чём проблема.

> All code using it will have to be ported to the new
> KDecoration API.

ну написано же - API сменился (у КДЕ, видимо)
поищи rpm для SuSE-{твоя-версия}. я для Slackware нашел :^)

ldconfig
()

Plastik входит в KDE 3.2, в пакете kdeartwork

так что просто поставь его и загляни в Control Center ;)

Demetrio ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.