PyQt-x11-gpl-3.16 compile error

B

baur79

[root@localhost PyQt-x11-gpl-3.16]# python configure.py -q
/usr/lib/qt-3.3/
This is the GPL version of PyQt 3.16 (licensed under the GNU General
Public
License) for Python 2.4.2 on linux2.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? yes
qextscintillaglobal.h could not be found in /usr/lib/qt-3.3/include and
so the
qtext module will not be built. If QScintilla is installed then use the
-n
argument to explicitly specify the correct directory.
Checking to see if the qtcanvas module should be built...
Checking to see if the qtnetwork module should be built...
Checking to see if the qttable module should be built...
Checking to see if the qtxml module should be built...
Checking to see if the qtgl module should be built...
Checking to see if the qtui module should be built...
Checking to see if the qtsql module should be built...
Checking to see if the QAssistantClient class is available...
Creating features file...
Error: Unable to build mkfeatures utility.


please help to fix the problem
 
D

David Boddie

[root@localhost PyQt-x11-gpl-3.16]# python configure.py -q
/usr/lib/qt-3.3/
This is the GPL version of PyQt 3.16 (licensed under the GNU General
Public
License) for Python 2.4.2 on linux2.
[...]

Creating features file...
Error: Unable to build mkfeatures utility.

Can you run the configure.py script again with the -w option as well as
the others you specified, then post the output here?

David
 
B

baur79

Hi David
here is th output :

[root@localhost PyQt-x11-gpl-3.16]# python configure.py -q
/usr/lib/qt-3.3/ -w
This is the GPL version of PyQt 3.16 (licensed under the GNU General
Public
License) for Python 2.4.2 on linux2.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? yes
qextscintillaglobal.h could not be found in /usr/lib/qt-3.3/include and
so the
qtext module will not be built. If QScintilla is installed then use the
-n
argument to explicitly specify the correct directory.
Checking to see if the qtcanvas module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qtnetwork module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qttable module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qtxml module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qtgl module should be built...
In file included from cfgtest.cpp:1:
/usr/lib/qt-3.3/include/qgl.h:79:20: error: GL/gl.h: No such file or
directory
/usr/lib/qt-3.3/include/qgl.h:80:21: error: GL/glu.h: No such file or
directory
Checking to see if the qtui module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qtsql module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the QAssistantClient class is available...
/usr/bin/ld: cannot find -lmng
collect2: ld returned 1 exit status
Creating features file...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Error: Unable to build mkfeatures utility.
 
D

David Boddie

here is th output :

[root@localhost PyQt-x11-gpl-3.16]# python configure.py -q
/usr/lib/qt-3.3/ -w
[...]

Checking to see if the qtcanvas module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qtnetwork module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qttable module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qtxml module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qtgl module should be built...
In file included from cfgtest.cpp:1:
/usr/lib/qt-3.3/include/qgl.h:79:20: error: GL/gl.h: No such file or
directory
/usr/lib/qt-3.3/include/qgl.h:80:21: error: GL/glu.h: No such file or
directory
Checking to see if the qtui module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the qtsql module should be built...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Checking to see if the QAssistantClient class is available...
/usr/bin/ld: cannot find -lmng
collect2: ld returned 1 exit status
Creating features file...
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
Error: Unable to build mkfeatures utility.

OK. It looks like the directory you specified using the -q option
isn't the one you need. You haven't said whether you installed Qt from
source, or whether it was installed with the rest of your Linux
distribution.

If you need to use the -q option (if the script doesn't work without
it), try using /usr/share/qt3 - this works for Debian-based
distributions, and may also work for other distributions.

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top