[PyKDE] Error installing PyKDE-3.7-4

Rafael Muñoz Cardenas byelmenda at hotmail.com
Thu Sep 4 20:04:00 BST 2003

Hi. I'm trying to install PyKDE-3.7-4, but I get this error:
DeBiaN:/home/menda/PyKDE-3.7-4# python2.3 build.py
Building PyKDE 3.7 for Python 2.3+ on linux2.
/usr/lib/python2.3/site-packages is the PyKDE installation directory.
/usr/include/python2.3 contains Python.h.
/usr/local/bin/sip will be used as the SIP code generator.
/usr/include/python2.3 contains sipQt.h.
/usr/lib/python2.2/site-packages/ contains the SIP module.
/usr/ is the Qt base directory.
/usr/include/qt3/ contains qglobal.h.
Qt 3.2.1 is being used.
/usr/ is the KDE base directory.
/usr/include/kde contains kdeversion.h.
KDE 3.1.3 is being used.
/usr/bin/qmake will be used to generate Makefiles.
The libqt-mt.so.3.2.1 Qt library was found.
Qt thread support is enabled.
Qt and KDE use compatible libs (threading)

found libs for modules:
     dcop kdecore kdesu kdefx kdeui kio kfile (kio) kparts khtml kjs kspell 

PyQt/sip directory found at /usr/share/sip/qt/
PyQt sip file version is compatible with PyKDE (3.7)
sip version is compatible with PyKDE-3.7
/usr/bin/make will be used as the make program.
Checking to see if the C++ compiler supports -fno-exceptions.
-fno-exceptions -I/usr/share/qt3/mkspecs/default -I. -I. 
-I/usr/include/python2.3 -I/usr/include/qt3 -I/usr/include/kde 
-I/usr//include -o qttest.o qttest.cpp
g++  -o qttest qttest.o   -L/usr//lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 
-lm -lpthread
The C++ compiler supports -fno-exceptions.
Using existing features file.
Generating the C++ source for the dcop module.
sip: /usr/share/sip/qt//versions.sip:28: Exactly one of this %Timeline must 
be specified with the -t flag
An internal error occured.  Please report all the output from the program,
including the following traceback, to <jbublitz at nwinternet.com> and CC the
PyKDE mailing list: <pykde at mats.imk.fraunhofer.de>. Thanks.

Traceback (most recent call last):
  File "build.py", line 1616, in ?
  File "build.py", line 1578, in main
    generateSource(mname, plattag, qttag)
  File "build.py", line 1125, in generateSource
    runProgram (sipBin, argv)
  File "build.py", line 1431, in main
    nrcpu = int(os.environ["SMP"])
  File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 'SMP'
I also tryied: #python build.py
Here, my build.py:
# Define the globals.
progName        = None
qtDir           = "/usr/"
qtIncDir        = "/usr/include/qt3/"
qtVersion       = 0
qtLib           = "/usr/lib/qt3/"
qtLibDir        = None

kdeDir          = "/usr/"
kdeIncDir       = None
kdeVersion      = 0
kdeLib          = None
pyQtSipDir      = "/usr/share/sip/qt/"

platPyScriptDir = None
platPyDLLDir    = None
platPySiteDir   = None
platPyIncDir    = None
platPyLibDir    = None
platBinDir      = None
platMake        = None
platCopy        = None
platMove        = None
platRemove      = None
platMkdir       = None
platQTDIRName   = None
platKDEDIRName  = None

sipModuleDir    = "/usr/lib/python2.2/site-packages/"
sipIncDir       = None
sipBin          = None

modDir          = None
libDir          = "libs"
pyFullVers      = None
makefileGen     = None
makeBin         = None

proPatches      = {}
makefilePatches = {}
tempBuildDir    = None
enableOldPython = 0
catCppFiles     = 1
catSplit        = 1
nrThreads       = 0
I instaled PyQt-x11-gpl-3.7 and sip-x11-gpl-3.7 from source.
I'm working on Debian SID.
El Menda.

Accede al romance online. Descubre gente que busca a otra gente en MSN Amor 
& Amistad. http://match.msn.es/

More information about the PyQt mailing list