From: "Евгений В. Хорохорин" <horohorinev@mail.ru> To: Sisyphus Mailing list <sisyphus@altlinux.ru> Subject: [sisyphus] qt, qt-mt Date: Thu, 14 Nov 2002 14:40:41 +0300 Message-ID: <20021114144041.2330fd1f.horohorinev@mail.ru> (raw) Приветствую! Пытаюсь собрать библиотеку 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
next reply other threads:[~2002-11-14 11:40 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-11-14 11:40 Евгений В. Хорохорин [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021114144041.2330fd1f.horohorinev@mail.ru \ --to=horohorinev@mail.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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