Archiv verlassen und diese Seite im Standarddesign anzeigen : Licq-Plugin kompilieren
Hallo Leute!
Ich hab mir eben SuSE 8.0 neu installiert. Danach KDE3 per rpms auf dem neusten Stand gebracht.
Nun möchte ich licq installieren. Ich hab die rpm probiert - funktionierte aber nicht. Dann hab ich licq selbst kompiliert. Das alleine ging auch problemlos. Nur möchte ich jetzt das qt-gui für licq kompilieren.
Erst hatte ich ein Problem mit dem MOC-Compiler (was auch immer das ist) aber das konnte ich lösen. Nun bekomme ich aber bei folgendem Aufruf:
./configure --with-kde --with-qt-moc /usr/lib/qt3/bin/moc
diese Fehlermeldung:
...
checking how to run the C++ preprocessor... (cached) c++ -E
loading cache ./config.cache within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
Wäre echt nett wenn mir da jemand weiterhelfen könnte! Ich bin (noch) Linux-Neuling! ;)
MFG
MF2HD
Offenbar ist ltconfig (libtool-config) nicht mit den übergebenen Parametern zufrieden (siehe config.log). Möglicherweise musst Du configure anpassen.
Hi nochmal!
Ich hab jetzt stundenlang runprobiert. Offenbar lag der Fehler wohl bei diesem moc compiler. Ich hab mal das qt2-devel paket installiert und - siehe da - configure klappt und gibt mir diese variablen aus:
Install prefix : /usr/local
Licq Includes : /root/temp/licq-1.2.0a/include
KDE : includes in /opt/kde3/include, libs in /opt/kde3/lib
Qt includes : /usr/lib/qt3/include
Qt libraries : /usr/lib/qt3/lib, -lqt-mt
Qt moc : /usr/lib/qt2/bin/moc
Also scheint wohl nur der compiler von qt2 zu finktionieren. Dann versucht zu kompilieren ... klappt natürlich nicht:
gmake[2]: Entering directory `/root/temp/licq-1.2.0a/plugins/qt-gui-1.2.0/src'
/bin/sh ../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -I/root/temp/licq-1.2.0a/include -I/usr/X11R6/include -I/usr/lib/qt3/include -I/opt/kde3/include -fPIC -DPIC -D_REENTRANT -O2 -fno-exceptions -fno-check-new -Wall -c adduserdlg.cpp
In file included from adduserdlg.cpp:75:
adduserdlg.moc:30: no `void AddUserDlg::initMetaObject()' member function declared in class `AddUserDlg'
adduserdlg.moc: In method `void AddUserDlg::initMetaObject()':
adduserdlg.moc:34: implicit declaration of function `int badSuperclassWarning(...)'
adduserdlg.moc: At top level:
adduserdlg.moc:41: prototype for `class QString AddUserDlg::tr(const char *)' does not match any in class `AddUserDlg'
adduserdlg.h:15: candidate is: static class QString AddUserDlg::tr(const char *, const char * = 0)
adduserdlg.moc: In function `static class QMetaObject * AddUserDlg::staticMetaObject()':
adduserdlg.moc:67: no method `QMetaObject::new_metadata'
adduserdlg.moc:68: no method `QMetaObject::new_metaaccess'
adduserdlg.moc:70: `struct QMetaData' has no member named `ptr'
adduserdlg.moc:70: `QMember' undeclared (first use this function)
adduserdlg.moc:70: (Each undeclared identifier is reported only once
adduserdlg.moc:70: for each function it appears in.)
adduserdlg.moc:70: parse error before `;'
adduserdlg.moc:73: `struct QMetaData' has no member named `ptr'
adduserdlg.moc:73: parse error before `;'
adduserdlg.moc:83: no matching function for call to `QMetaObject::new_metaobject (const char[11], const char[8], QMetaData *&, int, int, int, int, int, int, int, int, int)'
/usr/lib/qt3/include/qmetaobject.h:199: candidates are: static class QMetaObject * QMetaObject::new_metaobject(const char *, QMetaObject *, const QMetaData *, int, const QMetaData *, int, const QMetaProperty *, int, const QMetaEnum *, int, const QClassInfo *, int)
adduserdlg.moc:84: no matching function for call to `QMetaObject::set_slot_access (QMetaData::Access *&)'
adduserdlg.moc:66: warning: unused variable `void (QObject::* ov1_1)()'
adduserdlg.moc:64: warning: unused variable `void (QObject::* ov1_0)()'
gmake[2]: *** [adduserdlg.lo] Error 1
gmake[2]: Leaving directory `/root/temp/licq-1.2.0a/plugins/qt-gui-1.2.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/temp/licq-1.2.0a/plugins/qt-gui-1.2.0'
gmake: *** [all-recursive-am] Error 2
Kann das vielleicht sein dass das Plugin nur mit qt2 funktioniert? Ich hab schon probiert nur mit qt2 zu kompielieren aber dann bekomme ich den gleichen Fehler wie ganz am Anfang!
So langsam verzweifel ich... Warum muss das nur immer so ein Krampf mit kompilieren sein! ;)
du kannst dir mal den cvs-snapshot laden,
der hat bei mir auch mit qt3 gefunzt.
alternativ kannst du ja auch mal sim probiern. ist auch ein icq-client für kde und gefällt mir persönlich besser als licq.
hey sim ist echt super! ich finds auch besser als licq! kannte ich gar nicht... :confused:
ich werds trotzdem mal mit der cvs-version von licq probieren. so leicht geb ich ja nicht auf! :D
ich werds berichten obs klappt
Danke für die Antworten!
Ich habe LICQ 1.2.0 + QT Plugin mit selbst compiliertem QT3 ohne Schwierigkeiten compilieren können.
Kannst es ja einfach mal selbst compilieren. Das dauert dann zwar 1 - 2 Stunden, danach solltest du aber keine Probleme mehr mit QT haben.
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.