PyQt-x11-gpl-3.16 compile error

David Boddie david at boddie.org.uk
Sat Oct 28 09:13:45 EDT 2006


On Saturday 28 October 2006 06:42, baur79 at gmail.com wrote:

> here is th output :
> 
> [root at 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



More information about the Python-list mailing list