as requested I'm reporting this internal build.py error. I compiled qt 3.2, am
using it succesfully with KDE on Mandrake 9.1 . I compiled and installed PyQt
3.7, and it works no problem. I'd love to get PyKDE working too.
BTW, great work guys and keep it up.
abdulhaq
PS I upgraded to qt 3.2 as I just couldn't get PyQt to work with 3.1.2 even
after changes the features as recommended in the README.Linux.
Building PyKDE 3.7 for Python 2.2.2 on linux-i386.
/usr/lib/python2.2/site-packages is the PyKDE installation directory.
/usr/include/python2.2 contains Python.h.
/usr/local/bin/sip will be used as the SIP code generator.
/usr/include/python2.2 contains sipQt.h.
/usr/lib/python2.2/site-packages contains the SIP module.
/usr/lib/qt3 is the Qt base directory.
/usr/lib/qt3/include contains qglobal.h.
Qt 3.2.0 is being used.
/usr is the KDE base directory.
/usr/include contains kdeversion.h.
KDE 3.1.0 is being used.
/usr/lib/qt3/bin/qmake will be used to generate Makefiles.
The libqt-mt.prl 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 kdeprint
PyQt/sip directory found at /home/alynch/pyqtprog/PyQt-x11-gpl-3.7/sip/
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.
g++ -c -pipe -w -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions
-I/usr/lib/qt3/mkspecs/default -I. -I. -I/usr/include/python2.2 -I/usr/include
-I/usr/lib/qt3/include -o qttest.o qttest.cpp
g++ -Wl,-rpath,/usr/lib/qt3/lib -o qttest qttest.o -L/usr/lib/qt3/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.
An internal error occured. Please report all the output from the program,
including the following traceback, to <[EMAIL PROTECTED]> and CC the
PyKDE mailing list: <[EMAIL PROTECTED]>. Thanks.
Traceback (most recent call last):
File "build.py", line 1618, in ?
main(sys.argv)
File "build.py", line 1580, in main
generateSource(mname, plattag, qttag)
File "build.py", line 1127, in generateSource
runProgram (sipBin, argv)
File "build.py", line 1433, in main
nrcpu = int(os.environ["SMP"])
File "/usr/lib/python2.2/UserDict.py", line 14, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: SMP