Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing KDE - problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
rafalek
n00b
n00b


Joined: 08 Jun 2006
Posts: 68
Location: Warsaw, Poland

PostPosted: Tue Jun 20, 2006 8:39 am    Post subject: Installing KDE - problem Reply with quote

Hi.

After I couldn't write national chars in gnome I try to install KDE.
I type #emerge kde and error while compiling kdeaddons

Last lines:
Code:

/usr/qt/3/bin/moc ./plugin_katehtmltools.h -o plugin_katehtmltools.moc
/bin/sh ../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I//usr/include/db4.3  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef  -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscr ipts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -pipe -O2 -Wformat-securit y -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-ne w -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT  -DQT_NO_TRANSLATION  -c -o plugin_katehtmltools.lo plugin_katehtmltools.cpp
In file included from plugin_katehtmltools.cpp:18:
plugin_katehtmltools.h:23:25: kate/plugin.h: No such file or directory
plugin_katehtmltools.h:24:30: kate/application.h: No such file or directory
plugin_katehtmltools.h:27:34: kate/documentmanager.h: No such file or directory
plugin_katehtmltools.h:28:29: kate/mainwindow.h: No such file or directory
plugin_katehtmltools.h:29:30: kate/viewmanager.h: No such file or directory
In file included from plugin_katehtmltools.cpp:18:
plugin_katehtmltools.h:31: error: expected class-name before ',' token
plugin_katehtmltools.h:32: error: expected class-name before '{' token
plugin_katehtmltools.h:39: error: `Kate::MainWindow' has not been declared
plugin_katehtmltools.h:39: error: ISO C++ forbids declaration of `win' with no t ype
plugin_katehtmltools.h:40: error: `Kate::MainWindow' has not been declared
plugin_katehtmltools.h:40: error: ISO C++ forbids declaration of `win' with no t ype
In file included from plugin_katehtmltools.cpp:19:
plugin_katehtmltools.moc: In static member function `static QMetaObject* PluginK ateHtmlTools::staticMetaObject()':
plugin_katehtmltools.moc:54: error: `Kate::Plugin' has not been declared
plugin_katehtmltools.moc: In member function `virtual void* PluginKateHtmlTools: :qt_cast(const char*)':
plugin_katehtmltools.moc:77: error: `PluginViewInterface' is not a member of `Ka te'
plugin_katehtmltools.moc:77: error: expected primary-expression before ')' token
plugin_katehtmltools.moc:77: error: expected `;' before "this"
plugin_katehtmltools.moc:77: warning: statement has no effect
plugin_katehtmltools.moc:78: error: `Plugin' has not been declared
plugin_katehtmltools.moc: In member function `virtual bool PluginKateHtmlTools:: qt_invoke(int, QUObject*)':
plugin_katehtmltools.moc:86: error: `Plugin' has not been declared
plugin_katehtmltools.moc: In member function `virtual bool PluginKateHtmlTools:: qt_emit(int, QUObject*)':
plugin_katehtmltools.moc:93: error: `Plugin' has not been declared
plugin_katehtmltools.moc: In member function `virtual bool PluginKateHtmlTools:: qt_property(int, int, QVariant*)':
plugin_katehtmltools.moc:99: error: `Plugin' has not been declared
plugin_katehtmltools.cpp: At global scope:
plugin_katehtmltools.cpp:36: error: using-declaration for non-member at class sc ope
plugin_katehtmltools.cpp:36: error: expected `;' before '*' token
plugin_katehtmltools.cpp: In constructor `PluginKateHtmlTools::PluginKateHtmlToo ls(QObject*, const char*, const QStringList&)':
plugin_katehtmltools.cpp:40: error: expected class-name before '(' token
plugin_katehtmltools.cpp:40: error: `Application' is not a member of `Kate'
plugin_katehtmltools.cpp:40: error: expected primary-expression before ')' token
plugin_katehtmltools.cpp: At global scope:
plugin_katehtmltools.cpp:48: error: variable or field `addView' declared void
plugin_katehtmltools.cpp:48: error: `int PluginKateHtmlTools::addView' is not a static member of `class PluginKateHtmlTools'
plugin_katehtmltools.cpp:48: error: `MainWindow' is not a member of `Kate'
plugin_katehtmltools.cpp:48: error: `win' was not declared in this scope
plugin_katehtmltools.cpp:49: error: expected `,' or `;' before '{' token
plugin_katehtmltools.cpp:64: error: variable or field `removeView' declared void
plugin_katehtmltools.cpp:64: error: `int PluginKateHtmlTools::removeView' is not  a static member of `class PluginKateHtmlTools'
plugin_katehtmltools.cpp:64: error: `MainWindow' is not a member of `Kate'
plugin_katehtmltools.cpp:64: error: `win' was not declared in this scope
plugin_katehtmltools.cpp:65: error: expected `,' or `;' before '{' token
plugin_katehtmltools.cpp: In member function `void PluginKateHtmlTools::slotEdit HTMLtag()':
plugin_katehtmltools.cpp:79: error: `application' was not declared in this scope
plugin_katehtmltools.cpp:79: warning: unused variable 'application'
plugin_katehtmltools.cpp:82: error: `application' was not declared in this scope
plugin_katehtmltools.cpp:82: warning: unused variable 'application'
plugin_katehtmltools.cpp: In member function `QString PluginKateHtmlTools::KateP rompt(const QString&, const QString&, QWidget*)':
plugin_katehtmltools.cpp:106: warning: `__comp_ctor' is deprecated (declared at /usr/kde/3.5/include/klineeditdlg.h:58)
/usr/kde/3.5/include/kgenericfactory.h: In member function `QObject* KGenericFac tory<Product, ParentType>::createObject(QObject*, const char*, const char*, cons t QStringList&) [with Product = PluginKateHtmlTools, ParentType = QObject]':
plugin_katehtmltools.cpp:160:   instantiated from here
/usr/kde/3.5/include/kgenericfactory.h:193: error: cannot convert `PluginKateHtm lTools*' to `QObject*' in return
plugin_katehtmltools.cpp: At global scope:
plugin_katehtmltools.cpp:40: warning: unused parameter 'parent'
plugin_katehtmltools.cpp:40: warning: unused parameter 'parent'
make[3]: *** [plugin_katehtmltools.lo] Błąd 1
make[3]: Opuszczenie katalogu `/var/tmp/portage/kdeaddons-3.5.3/work/kdeaddons-3 .5.3/kate/htmltools'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/var/tmp/portage/kdeaddons-3.5.3/work/kdeaddons-3 .5.3/kate'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/kdeaddons-3.5.3/work/kdeaddons-3 .5.3'
make: *** [all] Błąd 2

!!! ERROR: kde-base/kdeaddons-3.5.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  kdeaddons-3.5.3.ebuild, line 32:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 299:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 295:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if rel evant.


How to fix it?

Is this is problem if I type qmake -v and I've got :
QMake version: 2.00a
Using Qt version 4.1.3 in /usr/lib64/qt4
_________________
To have Parkinson's better and pour a bit, than Alzheimer's and forget drink up.
Lepiej mieć Parkinsona i trochę wylać, niż Alzheimera i zapomnieć wypić.
Back to top
View user's profile Send private message
cyblord
Guru
Guru


Joined: 22 May 2006
Posts: 424

PostPosted: Wed Jun 21, 2006 4:42 am    Post subject: Reply with quote

try emering the split kde ebuilds:

http://www.gentoo.org/doc/en/kde-split-ebuilds.xml
Back to top
View user's profile Send private message
petu
Apprentice
Apprentice


Joined: 01 Sep 2002
Posts: 269
Location: Turku, Finland

PostPosted: Wed Jun 21, 2006 4:16 pm    Post subject: Reply with quote

Have a look at this post.
https://forums.gentoo.org/viewtopic-t-471470-highlight-kdeaddons.html
_________________
Never be afraid to try something new. Remember, amateurs built the
ark; professionals built the Titanic. -- Anonymous
Back to top
View user's profile Send private message
rafalek
n00b
n00b


Joined: 08 Jun 2006
Posts: 68
Location: Warsaw, Poland

PostPosted: Thu Jun 22, 2006 7:17 am    Post subject: Reply with quote

I do it like that:
unemerge everything which included kde and then emerge kde and its working!
_________________
To have Parkinson's better and pour a bit, than Alzheimer's and forget drink up.
Lepiej mieć Parkinsona i trochę wylać, niż Alzheimera i zapomnieć wypić.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Thu Jun 22, 2006 7:32 am    Post subject: Reply with quote

Moved from Desktop Environments to Duplicate Threads.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum