Gentoo Archives: gentoo-user

From: econti <contiemilio@×××××.it>
To: gentoo help <gentoo-user@l.g.o>
Subject: [gentoo-user] Impossible to compile PyQt
Date: Wed, 24 Oct 2007 15:30:07
Message-Id: 471F63A3.4080707@alice.it
1 Hi all,
2 the upgrade of my system has had another stop.
3
4 This time due to PyQt. I googled and found many problems regarding PyQt,
5 but, because of my english, I did not understand what exactly to do.
6
7 Here is my error log:
8 ----------------------------------------------
9 >>> Unpacking source...
10 >>> Unpacking PyQt-x11-gpl-3.17.tar.gz to
11 /var/tmp/portage/dev-python/PyQt-3.17/work
12 >>> Source unpacked.
13 >>> Compiling source in
14 /var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17 ...
15 cfgtest.cpp: In function 'int main(int, char**)':
16 cfgtest.cpp:5: error: expected type-specifier before 'QInterlaceStyle'
17 cfgtest.cpp:5: error: expected `;' before 'QInterlaceStyle'
18 cfgtest.cpp:1:29: error: qwindowsxpstyle.h: No such file or directory
19 cfgtest.cpp: In function 'int main(int, char**)':
20 cfgtest.cpp:5: error: expected type-specifier before 'QWindowsXPStyle'
21 cfgtest.cpp:5: error: expected `;' before 'QWindowsXPStyle'
22 QScintilla 1.5.1 is being used.
23 Checking to see if the qtcanvas module should be built...
24 Checking to see if the qtnetwork module should be built...
25 Checking to see if the qttable module should be built...
26 Checking to see if the qtxml module should be built...
27 Checking to see if the qtgl module should be built...
28 Checking to see if the qtui module should be built...
29 Checking to see if the qtsql module should be built...
30 Checking to see if the qtext module should be built...
31 Checking to see if the QAssistantClient class is available...
32 Creating features file...
33 Checking to see if the QCDEStyle class is built in...
34 Checking to see if the QInterlaceStyle class is built in...
35 Checking to see if the QMotifStyle class is built in...
36 Checking to see if the QMotifPlusStyle class is built in...
37 Checking to see if the QPlatinumStyle class is built in...
38 Checking to see if the QSGIStyle class is built in...
39 Checking to see if the QWindowsXPStyle class is built in...
40 Checking to see if the QWindowsStyle class is built in...
41 Qt v3.3.8 free edition is being used.
42 SIP 4.7 is being used.
43 These PyQt modules will be built: qt qtcanvas qtnetwork qttable qtxml
44 qtgl qtui
45 qtsql qtext.
46 Support for these Qt classes has been disabled: QInterlaceStyle
47 QWindowsXPStyle.
48 The PyQt modules will be installed in /usr/lib64/python2.4/site-packages.
49 The PyQt .sip files will be installed in /usr/share/sip.
50 The Qt header files are in /usr/qt/3/include.
51 The qt-mt Qt library is in /usr/qt/3/lib64.
52 pyuic will be installed in /usr/bin.
53 pylupdate will be installed in /usr/bin.
54 Generating the C++ source for the qt module...
55 Creating the Makefile for the qt module...
56 Generating the C++ source for the qtext module...
57 Creating the Makefile for the qtext module...
58 Generating the C++ source for the qtgl module...
59 Creating the Makefile for the qtgl module...
60 Generating the C++ source for the qtui module...
61 Creating the Makefile for the qtui module...
62 Generating the C++ source for the qtcanvas module...
63 Creating the Makefile for the qtcanvas module...
64 Generating the C++ source for the qtnetwork module...
65 Creating the Makefile for the qtnetwork module...
66 Generating the C++ source for the qtsql module...
67 Creating the Makefile for the qtsql module...
68 Generating the C++ source for the qttable module...
69 Creating the Makefile for the qttable module...
70 Generating the C++ source for the qtxml module...
71 Creating the Makefile for the qtxml module...
72 Creating top level Makefile...
73 Creating pyuic Makefile...
74 Creating pylupdate Makefile...
75 Creating pyqtconfig.py...
76 make[1]: Entering directory
77 `/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'
78 x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=k8 -O2 -pipe
79 -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG
80 -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4
81 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include
82 -o sipqtcmodule.o sipqtcmodule.cpp
83 x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=k8 -O2 -pipe
84 -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG
85 -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4
86 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include
87 -o sipqtQPtrList.o sipqtQPtrList.cpp
88 sip/qt/qdir.sip:47:28: error: sipqtQFileInfo.h: No such file or directory
89 x86_64-pc-linux-gnu-g++ -c -pipe -fPIC -march=k8 -O2 -pipe
90 -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG
91 -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4
92 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include
93 -o sipqtQWorkspace.o sipqtQWorkspace.cpp
94 sip/qt/qwidgetlist.sip:38:26: error: sipqtQWidget.h: No such file or
95 directory
96 sip/qt/qobjectlist.sip:38:26: error: sipqtQObject.h: No such file or
97 directory
98 sipqtcmodule.cpp:13422: error: 'sipQtFindConnection' was not declared in
99 this scope
100 make[1]: *** [sipqtcmodule.o] Error 1
101 make[1]: *** Waiting for unfinished jobs....
102 make[1]: *** [sipqtQWorkspace.o] Error 1
103 make[1]: Leaving directory
104 `/var/tmp/portage/dev-python/PyQt-3.17/work/PyQt-x11-gpl-3.17/qt'
105 make: *** [all] Error 2
106
107 !!! ERROR: dev-python/PyQt-3.17 failed.
108 Call stack:
109 ebuild.sh, line 1638: Called dyn_compile
110 ebuild.sh, line 985: Called qa_call 'src_compile'
111 ebuild.sh, line 44: Called src_compile
112 PyQt-3.17.ebuild, line 45: Called die
113
114 !!! emake failed
115 !!! If you need support, post the topmost build error, and the call
116 stack if relevant.
117 !!! A complete build log is located at
118 '/var/tmp/portage/dev-python/PyQt-3.17/temp/build.log'.
119 -----------------------------------------------------------------------------------------------------------------
120
121 Regards
122 emilio
123
124 --
125 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Impossible to compile PyQt Willie Wong <wwong@×××××××××.EDU>