pyKDE won't build

Discussion in 'Python' started by Steven, Apr 14, 2004.

  1. Steven

    Steven Guest

    Hi folks,
    I'm trying to install pyKDE.
    python, pyQT and sip are installed and working.

    I run python build.py and get the error shown at the end.
    sip -V gives 3.10.1 (3.10.1-192)
    PyQt version is 3.11

    From the traceback it detects the wrong sip version, but I don't know how to
    make it detect the correct version. There is only one version of sip on my
    system. (slackware linux 9.1)
    I don't understand python, but need pyKDE to make something else work.

    Any help greatfully appreciated,

    Steven

    -------------startofpaste-------

    Building PyKDE 3.8 on linux2.

    Python version is 2.3
    Python parent directory is /usr/lib/python2.3
    Python library directory is /usr/lib/python2.3/config
    Python include directory is /usr/include/python2.3

    Home directory is /home/sr

    sip code generator path (sip) is /usr/bin
    sip version is 3.1
    sip lib directory (libsip*) is /usr/lib/python2.3/site-packages
    sip include directory (sipQt.h) is /usr/include/python2.3

    Qt3 parent directory is /usr/lib/qt-3.2.3
    Qt3 lib directory (libqt-mt.so.3) is /usr/lib/qt-3.2.3/lib
    Qt3 include directory (qglobal.h) is /usr/lib/qt-3.2.3/include
    Qt version is 3.2.3

    PyQt lib directory is /usr/lib/python2.3/site-packages
    PyQt lib version is 3.11
    PyQt sip files directory is /usr/local/PyQt-x11-gpl-3.11/sip
    PyQt sip version is 3.11.0

    KDE3 parent directory is /opt/kde
    KDE3 library directory (libkdecore.so) is /opt/kde/lib
    KDE3 include directory (kapplication.h) is /opt/kde/include
    KDE version is 3.2.1

    make program is make
    Makefile generator path (qmake) is /usr/lib/qt-3.2.3/bin
    Install directory is /usr/lib/python2.3/site-packages


    An internal error occured. Review the installation documentation or
    report all the output from the program, including the traceback,
    to the PyKDE mailing list: <>. Thanks.


    Traceback (most recent call last):
    File "build.py", line 1038, in ?
    main (sys.argv)
    File "build.py", line 990, in main
    dis.sanity (Release, opts)
    File "build/discover.py", line 724, in sanity
    raise DiscoverError, msg % (self.sipBin.vers, "this", base)
    discover.DiscoverError: sip version (3.1) not compatible with this version
    (3.8)

    ------------------end--------
    Steven, Apr 14, 2004
    #1
    1. Advertising

  2. Steven

    David Boddie Guest

    Steven <> wrote in message news:<dRafc.246$>...
    > Hi folks,
    > I'm trying to install pyKDE.
    > python, pyQT and sip are installed and working.
    >
    > I run python build.py and get the error shown at the end.
    > sip -V gives 3.10.1 (3.10.1-192)
    > PyQt version is 3.11


    Unfortunately, PyKDE 3.8 isn't guaranteed to work with versions of SIP or
    PyQt later than SIP 3.8 and PyQt 3.8. A later version of PyKDE which works
    with both KDE 3.2 and more recent versions of PyQt and SIP is scheduled
    for release in the near future. Meanwhile, you might want to try getting
    hold of compatible versions of PyQt and SIP.

    > From the traceback it detects the wrong sip version, but I don't know how to
    > make it detect the correct version. There is only one version of sip on my
    > system. (slackware linux 9.1)


    This all sounds familiar. You may want to take a look at the PyKDE mailing
    list archives at

    http://mats.imk.fraunhofer.de/pipermail/pykde/

    or even subscribe and repost details of your problem there.

    > I don't understand python, but need pyKDE to make something else work.


    Hopefully, you won't need to understand Python to get it all working,
    although you may wish to look at it more closely once you see what can be
    achieved with Python, PyQt and PyKDE.

    David
    David Boddie, Apr 15, 2004
    #2
    1. Advertising

  3. Steven

    Steven Guest

    David Boddie wrote:

    > Steven <> wrote in message
    > news:<dRafc.246$>...
    > Unfortunately, PyKDE 3.8 isn't guaranteed to work with versions of SIP or
    > PyQt later than SIP 3.8 and PyQt 3.8. A later version of PyKDE which works
    > with both KDE 3.2 and more recent versions of PyQt and SIP is scheduled
    > for release in the near future. Meanwhile, you might want to try getting
    > hold of compatible versions of PyQt and SIP.


    > This all sounds familiar. You may want to take a look at the PyKDE mailing
    > list archives at
    >
    > http://mats.imk.fraunhofer.de/pipermail/pykde/
    >
    > or even subscribe and repost details of your problem there.
    >
    > Hopefully, you won't need to understand Python to get it all working,
    > although you may wish to look at it more closely once you see what can be
    > achieved with Python, PyQt and PyKDE.
    >
    > David


    I've now got earlier versions of pyQt and sip, which I'll use until a new
    version of pyKDE becomes available.

    Thanks for the info

    Steven
    Steven, Apr 15, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim Bublitz

    ANN: PyKDE now does KDE plugins

    Jim Bublitz, Nov 7, 2003, in forum: Python
    Replies:
    9
    Views:
    397
    Jim Bublitz
    Nov 9, 2003
  2. Sam

    PyKDE/PyQT/SIP

    Sam, Feb 15, 2004, in forum: Python
    Replies:
    2
    Views:
    401
    Paul Boddie
    Feb 16, 2004
  3. Markus Zimmermann

    PyQt & PyKDE current snapshot

    Markus Zimmermann, Apr 3, 2004, in forum: Python
    Replies:
    1
    Views:
    280
    Phil Thompson
    Apr 4, 2004
  4. Torsten Marek

    ANN: A new wiki for PyQt and PyKDE

    Torsten Marek, May 7, 2004, in forum: Python
    Replies:
    0
    Views:
    317
    Torsten Marek
    May 7, 2004
  5. Adrian Casey

    PyKDE : Can I embed a Konsole?

    Adrian Casey, Oct 18, 2004, in forum: Python
    Replies:
    0
    Views:
    403
    Adrian Casey
    Oct 18, 2004
Loading...

Share This Page