PyQt-x11-gpl-3.16 compile error

Discussion in 'Python' started by baur79, Oct 27, 2006.

  1. baur79

    baur79 Guest

    [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
     
    baur79, Oct 27, 2006
    #1
    1. Advertisements

  2. baur79

    David Boddie Guest

    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
     
    David Boddie, Oct 27, 2006
    #2
    1. Advertisements

  3. baur79

    baur79 Guest

    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.
     
    baur79, Oct 28, 2006
    #3
  4. baur79

    David Boddie Guest

    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
     
    David Boddie, Oct 28, 2006
    #4
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.