ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] qt, qt-mt
@ 2002-11-14 11:40 Евгений В. Хорохорин
  2002-11-14 13:34 ` Sergey V. Turchin
  2002-11-14 14:05 ` Lenya L. Khachaturov
  0 siblings, 2 replies; 13+ messages in thread
From: Евгений В. Хорохорин @ 2002-11-14 11:40 UTC (permalink / raw)
  To: Sisyphus Mailing list

Приветствую!

Пытаюсь собрать библиотеку 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 			


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-11-20 13:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14 11:40 [sisyphus] qt, qt-mt Евгений В. Хорохорин
2002-11-14 13:34 ` Sergey V. Turchin
2002-11-18 12:33   ` Евгений В. Хорохорин
2002-11-18 12:50     ` aen
2002-11-18 13:30     ` Serge
2002-11-19 19:27       ` Genix
2002-11-20  4:14         ` [sisyphus] PyQt-snapshot-20021118 Евгений В. Хорохорин
2002-11-20 10:11           ` Sergey V. Turchin
2002-11-20 11:50             ` Евгений В. Хорохорин
2002-11-20 12:22               ` Sergey V. Turchin
2002-11-20 13:25                 ` Alexey I. Froloff
2002-11-19  8:44     ` [sisyphus] qt, qt-mt Sergey V. Turchin
2002-11-14 14:05 ` Lenya L. Khachaturov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git