[Comm] Установка licq 1.3 из исходников

Владимир Гусев =?iso-8859-1?q?vova1971_=CE=C1_narod=2Eru?=
Сб Окт 9 16:32:52 MSD 2004


Здравствуйте!

Решил установить Licq 1.3 из исходников с родного сайта программы.
Сам licq  сконфигурировался и установился нормально.. Теперь нужен был  
плагин qt для графич. оболочки. Перешел в соответствующую папку исходников  
(../plugins/qt-gui) и оттуда запускаю конфигурирование и т.д.
Просмотрел ./configure --help и решил запускать ./configure --with-x  
--with-qt

Конфигурирование вроде прошло успешно (прилагаю концовку):

*******
checking for good X11 headers... yes
checking for XScreenSaverRegister in -lXext... no
checking for XScreenSaverRegister in -lXss... yes
checking for X11/extensions/scrnsaver.h... yes
checking for QT includes... /usr/lib/qt3/include
checking for KDE includes... no
checking for QT libraries... yes, lib: -lqt-mt in /usr/lib/qt3/lib
checking for QT >= 3.x... yes
checking for moc... /usr/lib/qt2/bin/moc
checking for findtr... /usr/bin/findtr
checking for msg2qm... /usr/bin/msg2qm
checking for mergetr... /usr/bin/mergetr
checking for KDE libraries... no
checking vector usability... yes
checking vector presence... yes
checking for vector... yes
checking for specific Qt header files...
configure: creating ./config.status
config.status: creating po/Makefile
config.status: creating src/Makefile
config.status: creating share/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands

Please remember to use GNU make, often installed as gmake.

Install prefix : /usr/local
Licq Includes  : /home/vova/Sources/licq-1.3.0/include
KDE            : disabled.
Qt includes    : /usr/lib/qt3/include
Qt libraries   : /usr/lib/qt3/lib, -lqt-mt
Qt moc         : /usr/lib/qt2/bin/moc

Далее делаю gmake (если они так хотят):
[vova на vova qt-gui]$ gmake
gmake  all-recursive
gmake[1]: Entering directory `/home/vova/Sources/licq-1.3.0/plugins/qt-gui'
Making all in src
gmake[2]: Entering directory  
`/home/vova/Sources/licq-1.3.0/plugins/qt-gui/src'
/usr/lib/qt2/bin/moc ./adduserdlg.h -o adduserdlg.moc
if /bin/sh ../libtool --silent --silent --mode=compile --tag=CXX  
g++ -DHAVE_CONFIG_H -I. -I. -I..  -D_REENTRANT  
-I/home/vova/Sources/licq-1.3.0/include -I/usr/X11R6/include  
-I/usr/lib/qt3/include  -fPIC -DPIC -D_REENTRANT  -O2 -fno-exceptions  
-fno-check-new -Wall -I/usr/lib/qt3/include  -I/usr/X11R6/include  -MT  
adduserdlg.lo -MD -MP -MF ".deps/adduserdlg.Tpo" \
           -c -o adduserdlg.lo `test -f 'adduserdlg.cpp' || echo  
'./'`adduserdlg.cpp; \
         then mv -f ".deps/adduserdlg.Tpo" ".deps/adduserdlg.Plo"; \
         else rm -f ".deps/adduserdlg.Tpo"; exit 1; \
         fi
In file included from adduserdlg.cpp:119:
adduserdlg.moc:30: no `void AddUserDlg::initMetaObject()' member function  
declared in class `AddUserDlg'
adduserdlg.moc: In member function `void AddUserDlg::initMetaObject()':
adduserdlg.moc:34: `badSuperclassWarning' undeclared (first use this  
function)
adduserdlg.moc:34: (Each undeclared identifier is reported only once for  
each function it appears in.)
In file included from adduserdlg.cpp:119:
adduserdlg.moc: At global scope:
adduserdlg.moc:41: prototype for `QString AddUserDlg::tr(const char*)'  
does not match any in class `AddUserDlg'
adduserdlg.h:16: candidate is: static QString AddUserDlg::tr(const char*,  
const char* = 0)
In file included from adduserdlg.cpp:119:
adduserdlg.moc: In static member function `static 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: syntax error before `;' token
adduserdlg.moc:73: `struct QMetaData' has no member named `ptr'
adduserdlg.moc:73: syntax error before `;' token
adduserdlg.moc:83: no matching function for call to  
`QMetaObject::new_metaobject(const char[11], const char[11], QMetaData*&,  
int, int, int, int, int, int, int, int, int)'
/usr/lib/qt3/include/qmetaobject.h:211: candidates are: static  
QMetaObject* QMetaObject::new_metaobject(const char*, QMetaObject*, const  
QMetaData*, int, const QMetaData*, int, const QMetaProperty*, int, const  
QMetaEnum*, int, const QClassInfo*, int)
/usr/lib/qt3/include/qmetaobject.h:219:                 static  
QMetaObject* QMetaObject::new_metaobject(const char*, QMetaObject*, const  
QMetaData*, int, const QMetaData*, int, const QMetaProperty*, int, const  
QMetaEnum*, int, bool (*)(QObject*, int, int, QVariant*), const  
QClassInfo*, int)
adduserdlg.moc:84: no matching function for call to  
`QMetaObject::set_slot_access(QMetaData::Access*&)'
adduserdlg.moc:64: warning: unused variable `void (QObject::*ov1_0)()'
adduserdlg.moc:66: warning: unused variable `void (QObject::*ov1_1)()'
gmake[2]: *** [adduserdlg.lo] Ошибка 1
gmake[2]: Leaving directory  
`/home/vova/Sources/licq-1.3.0/plugins/qt-gui/src'
gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Leaving directory `/home/vova/Sources/licq-1.3.0/plugins/qt-gui'
gmake: *** [all] Ошибка 2

Прочитал где смог про этот moc, но так и не понял, что требуется в данном  
случае от меня - неужто правка исходников? Если так, то я - пас...

-- 
С уважением, Владимир Гусев



Подробная информация о списке рассылки community