From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 14 Nov 2002 14:40:41 +0300 From: =?KOI8-R?B?5dfHxc7JyiD3LiDoz9LPyM/Syc4=?= To: Sisyphus Mailing list Message-Id: <20021114144041.2330fd1f.horohorinev@mail.ru> X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [sisyphus] qt, qt-mt Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: Приветствую! Пытаюсь собрать библиотеку PyQt, и на начальной стадии выдается сообщение: Error: These Qt libraries were found: qt, qt-mt. Use the -l argument to explicitly specify which you want to use. В чем разница между qt, qt-mt? Какой -l необходимо указывать в данной ситуации? Ели собирать с -lqt-mt то все собирается, но при попытке запуска приложения из примеров выдается сообщение: $ ./application.py Traceback (most recent call last): File "./application.py", line 7, in ? from qt import * File "/usr/lib/python2.2/site-packages/qt.py", line 35, in ? import libsip ImportError: /usr/lib/python2.2/site-packages/libsip.so: undefined symbol: _ZN7QObject5eventEP6QEvent Если собирать PyQt с -lqt то сборка не проходит по ошибке: make[1]: Entering directory `/home/genix/tmp/PyQt-x11-gpl-3.4/qt' g++ -c -pipe -w -pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686 -fno-exceptions -fpic -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG -fno-exceptions -I. -I/usr/include/python2.2 -I/usr/lib/qt3/include -I/usr/lib/qt3/mkspecs/default -o qtcmodule.o qtcmodule.cpp In file included from qtcmodule.cpp:155: sipqtQMutex.h:38: syntax error before `*' In file included from qtcmodule.cpp:187: sipqtQSemaphore.h:38: syntax error before `*' In file included from qtcmodule.cpp:224: sipqtQThread.h:43: parse error before `{' sipqtQThread.h:46: destructors must be member functions sipqtQThread.h:59: parse error before `private' sipqtQThread.h:61: syntax error before `&' sipqtQThread.h:64: parse error before `}' sipqtQThread.h:66: syntax error before `*' In file included from qtcmodule.cpp:244: sipqtQWaitCondition.h:39: syntax error before `*' make[1]: *** [qtcmodule.o] Error 1 make[1]: Leaving directory `/home/genix/tmp/PyQt-x11-gpl-3.4/qt' make: *** [sub-qt] Error 2 Как быть? python22-2.2.1-alt3 pythonlib-1.28-alt2 python22-devel-2.2.1-alt3 sip-3.4-alt1 -- Best regards, Genix. mailto: genix@sendmail.ru Registered Linux User #219993 http://saratov.lug.ru