PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : KDE 3.5 kompiliert micht



abc
12.12.05, 13:46
nach langer gnome-zeit dachte ich mir ich teste mal wieder kde do das hängt schon bei der installation und zwar beim paket kdebase-3.5:
zuvor hab ich schon arts und kdelibs, beides in der version 3.5 installiert.
configure geht beim paket kdebase ganz normal aber dann funzt nix mehr seht selbst:


[oli@linux kdebase-3.5.0]# make
make all-recursive
make[1]: Entering directory `/daten/system/kdebase-3.5.0'
Making all in libkonq
make[2]: Entering directory `/daten/system/kdebase-3.5.0/libkonq'
Making all in pics
make[3]: Entering directory `/daten/system/kdebase-3.5.0/libkonq/pics'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/daten/system/kdebase-3.5.0/libkonq/pics'
Making all in favicons
make[3]: Entering directory `/daten/system/kdebase-3.5.0/libkonq/favicons'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/kde-3.5/include -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -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_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT favicons.lo -MD -MP -MF ".deps/favicons.Tpo" -c -o favicons.lo favicons.cpp; \
then mv -f ".deps/favicons.Tpo" ".deps/favicons.Plo"; else rm -f ".deps/favicons.Tpo"; exit 1; fi
In file included from favicons.moc:11,
from favicons.cpp:36:
favicons.h:22:24: kdedmodule.h: No such file or directory
In file included from favicons.moc:11,
from favicons.cpp:36:
favicons.h:46: error: expected class-name before '{' token
favicons.h:49: error: ISO C++ forbids declaration of `K_DCOP' with no type
favicons.h:49: error: expected `;' before "public"
favicons.h:63: error: expected primary-expression before "iconForURL"
favicons.h:63: error: ISO C++ forbids declaration of `k_dcop' with no type
favicons.h:63: error: expected `;' before "iconForURL"
favicons.h:73: error: `ASYNC' does not name a type
favicons.h:81: error: `ASYNC' does not name a type
favicons.h:84: error: expected primary-expression before "void"
favicons.h:84: error: ISO C++ forbids declaration of `k_dcop_signals' with no type
favicons.h:84: error: expected `;' before "void"
In file included from favicons.cpp:36:
favicons.moc: In static member function `static QMetaObject* FaviconsModule::staticMetaObject()':
favicons.moc:54: error: `KDEDModule' has not been declared
favicons.moc: In member function `virtual void* FaviconsModule::qt_cast(const char*)':
favicons.moc:93: error: `KDEDModule' has not been declared
favicons.moc: In member function `virtual bool FaviconsModule::qt_invoke(int, QUObject*)':
favicons.moc:104: error: `KDEDModule' has not been declared
favicons.moc: In member function `virtual bool FaviconsModule::qt_emit(int, QUObject*)':
favicons.moc:111: error: `KDEDModule' has not been declared
favicons.moc: In member function `virtual bool FaviconsModule::qt_property(int, int, QVariant*)':
favicons.moc:117: error: `KDEDModule' has not been declared
favicons.cpp: At global scope:
favicons.cpp:58: error: prototype for `FaviconsModule::FaviconsModule(const QCString&)' does not match any in class `FaviconsModule'
favicons.h:46: error: candidates are: FaviconsModule::FaviconsModule()
favicons.h:46: error: FaviconsModule::FaviconsModule(const FaviconsModule&)
favicons.cpp: In constructor `FaviconsModule::FaviconsModule(const QCString&)':
favicons.cpp:58: error: class `FaviconsModule' does not have any field named `KDEDModule'
favicons.cpp: At global scope:
favicons.cpp:93: error: no `QString FaviconsModule::iconForURL(const KURL&)' member function declared in class `FaviconsModule'
favicons.cpp:157: error: no `void FaviconsModule::setIconForURL(const KURL&, const KURL&)' member function declared in class `FaviconsModule'
favicons.cpp: In member function `void FaviconsModule::setIconForURL(const KURL&, const KURL&)':
favicons.cpp:166: error: `iconChanged' undeclared (first use this function)
favicons.cpp:166: error: (Each undeclared identifier is reported only once for each function it appears in.)
favicons.cpp: At global scope:
favicons.cpp:174: error: no `void FaviconsModule::downloadHostIcon(const KURL&)' member function declared in class `FaviconsModule'
favicons.cpp: In member function `void FaviconsModule::startDownload(const QString&, bool, const KURL&)':
favicons.cpp:189: error: `connect' undeclared (first use this function)
favicons.cpp: In member function `void FaviconsModule::slotData(KIO::Job*, const QByteArray&)':
favicons.cpp:205: error: no matching function for call to `QTimer::singleShot(int, FaviconsModule* const, const char[12])'
/usr/lib/qt-3.3/include/qtimer.h:59: note: candidates are: static void QTimer::singleShot(int, QObject*, const char*)
favicons.cpp: In member function `void FaviconsModule::slotResult(KIO::Job*)':
favicons.cpp:254: error: `iconChanged' undeclared (first use this function)
favicons.cpp: At global scope:
favicons.cpp:268: error: expected constructor, destructor, or type conversion before '*' token
favicons.cpp:268: error: expected `,' or `;' before '*' token
make[3]: *** [favicons.lo] Fehler 1
make[3]: Leaving directory `/daten/system/kdebase-3.5.0/libkonq/favicons'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/daten/system/kdebase-3.5.0/libkonq'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/daten/system/kdebase-3.5.0'
make: *** [all] Fehler 2

tja irgendwas scheint da nicht zu passen:(

danke für hilfe :)

tooly
12.12.05, 15:04
Hallo,

favicons.h:22:24: kdedmodule.h: No such file or directory

ist denn die headerdatei vorhanden?

mfg
tooly

abc
12.12.05, 15:13
hi,

favicons.h is da
kdedmodule.h is nicht da zumindest nicht in libkonq/

hey wir machen fortschritte :D

PS: kann man diese datei von irgendwo bekommen?

tooly
12.12.05, 18:24
Hallo,

Du siehst, es macht durchaus sinn zu lesen was der Compiler einem schreibt.

kdedmodule.h ist bestandteil der kdelibs.
Entweder ist beim installieren der kdelibs was schief gegangen, oder Du hast das ganze in ein verzeichnis installiert in dem nicht nach header dateien gesucht wird.

mfg
tooly

abc
12.12.05, 19:47
ich dachte die datei is im paket kdebase dabei nur fehlt sie bei mir oder hab ich was falsch verstanden :ugly:

ich installier nach /usr/local/kde-3.5 (dem einfachen löschens wegen)

wie bekommt man das hin?

auseredem wird das installationsverzeichnis wo schon kdelibs-3.5 is ja berücksichtiget und durchsucht:


if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/kde-3.5/include -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -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_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT favicons.lo -MD -MP -MF ".deps/favicons.Tpo" -c -o favicons.lo favicons.cpp; \

tooly
12.12.05, 20:47
Hallo,

und in /usr/local/kde-3.5/include sind auch die includes installiert?

Bisher ist ja noch nicht viel passiert, installier halt kdelibs nochmal und prüf dann ob er die header korrekt mitinstalliert.

mfg
tooly

abc
13.12.05, 13:31
stimmt in /usr/local/kde-3.5/include ist wirklich keine datei kdedmodule.h sonst dürfte nix fehlen. wie könnte man kldelibs installiern damit das funktioniert?

abc
13.12.05, 14:23
noch was:
configure bemänkelt bei kdelibs einige dinge:


config.status: executing depfiles commands

You're missing Apple mDNSResponder 85 or later, therefore
dnssd will be compiled as stub, without any real functionality.
If you want zeroconf support (www.zeroconf.org), you should install mDNSResponder first.
See dnssd/INSTALL for details.


Your libaspell is too old or not installed, I couldn't find aspell.h.
You must download aspell >= 0.50.2, see http://aspell.net
Spell-checking with libaspell will not be available, only with ispell dicts.


The development package of Hspell is not installed, I couldn't find hspell.h.
Spell-checking Hebrew with libhspell will not be available.
If you need it, install hspell >= 0.9 from sources
see http://www.ivrix.org.il/projects/spell-checker/
or from packages your distribution provides.


No OpenEXR Libraries were found
Install the OpenEXR package (from http://www.openexr.org)
if you want EXR image format support


Your GCC supports symbol visibility, but the patch for Qt supporting visibility
was not included. Therefore, GCC symbol visibility support remains disabled.

For better performance, consider including the Qt visibility supporting patch
located at:

http://bugs.kde.org/show_bug.cgi?id=109386

and recompile all of Qt and KDE. Note, this is entirely optional and
everything will continue to work just fine without it.
könnte irgendetwas damit zu tun haben? :)

tooly
13.12.05, 15:39
Hallo abc,

wenn ich KDE in ein anderes Verzeichnis installieren würde, dann würde ich so vorgehen:

export KDEDIR=/usr/local/kde-3.5
export KDE_PREFIX=/usr/local/kde-3.5
export PATH=$PATH:/usr/local/kde-3.5/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/kde-3.5/lib/pkgconfig

dann noch /usr/local/kde-3.5/lib in /etc/ld.so.conf eintragen.

Dann würde ich nochmal von vorne anfangen. Die Meldungen von configure bedeutet doch nur dass div. Funktionen nicht zur Verfügung stehen, Du musst schon alleine Wissen ob Du das brauchst. Zumindest sollte dadurch aber trotzdem die header installiert werden.

Falls Du jetzt denkst "Man der tooly ist aber schlau" muss ich Dich enttäuschen, ich hab die infos von : http://www.linuxfromscratch.org/blfs/view/svn/kde/core.html#kde-pre-install-config


mfg
tooly

abc
13.12.05, 16:00
ok ich werd daws mal so probiern :D

danke bisjetzt schonmal;)

Iluminat23
13.12.05, 16:14
wiso willst du kde kompilieren? gibts keine pakete für deine distro?

speziell wegen dem späteren löschen und so.

mfg philipp

fehl-x
13.12.05, 16:55
noch was:
configure bemänkelt bei kdelibs einige dinge:


config.status: executing depfiles commands

You're missing Apple mDNSResponder 85 or later, therefore
dnssd will be compiled as stub, without any real functionality.
If you want zeroconf support (www.zeroconf.org), you should install mDNSResponder first.
See dnssd/INSTALL for details.


Your libaspell is too old or not installed, I couldn't find aspell.h.
You must download aspell >= 0.50.2, see http://aspell.net
Spell-checking with libaspell will not be available, only with ispell dicts.


The development package of Hspell is not installed, I couldn't find hspell.h.
Spell-checking Hebrew with libhspell will not be available.
If you need it, install hspell >= 0.9 from sources
see http://www.ivrix.org.il/projects/spell-checker/
or from packages your distribution provides.


No OpenEXR Libraries were found
Install the OpenEXR package (from http://www.openexr.org)
if you want EXR image format support


Your GCC supports symbol visibility, but the patch for Qt supporting visibility
was not included. Therefore, GCC symbol visibility support remains disabled.

For better performance, consider including the Qt visibility supporting patch
located at:

http://bugs.kde.org/show_bug.cgi?id=109386

and recompile all of Qt and KDE. Note, this is entirely optional and
everything will continue to work just fine without it.
könnte irgendetwas damit zu tun haben? :)


hier http://www.linuxforen.de/forums/showthread.php?t=199308 wie du die abhängigkeiten auflösen kannst. (jedenfalls einige davon.)

felix

abc
13.12.05, 18:31
wiso willst du kde kompilieren? gibts keine pakete für deine distro?

speziell wegen dem späteren löschen und so.

mfg philipp
toll. :) weist du wos pakete für fc3 gibt?

tooly
13.12.05, 20:44
Hallo abc,

z.B. von hier : http://apt.kde-redhat.org/apt/kde-redhat/fedora/3/stable/RPMS/

Frag mich jetzt aber nicht wie das installiert wird, hab kein fedora, nutze LFS.

Aber versuch es ruhig weiter mit dem compilieren, Du kannst davon nur lernen.

mfg
tooly

abc
14.12.05, 12:40
danke :)

ja ich probiers noch einige zeit, aber wenns nicht funzt, nehm ich die rpms