Hi Jim, > On Thu, May 15, 2008 at 6:02 PM, Jim Bublitz <[EMAIL PROTECTED]> wrote: > >> I think I must have a different version of configure.py than you are > >> expecting. I'm using the one that comes with pykde-4.0.2-1 at the > >> riverbankcomputing website. It doesnt have a variable called > >> opt_qt_inc_dir, nor a statement like "if incdir.startswith ('Q')". Here > >> is part of configure.py, starting at line 587: > > > > That seems to be the problem. Try the attached configure.py. It should be > > the one that's in PyKDE4 tarball, but I've checked and this should have > > the logic for setting up the include paths correctly. Not sure what > > happened here. > > > > I'll be away from my computer until Sat night/Sun morning.
I tired with the new configure.py that Jim posted. That helped, make is using the correct include dirs for Qt4. In addition to copying the extras/kde402 directory to extras/kde403 and extras/kde404, I had to comment out several lines in sip/kdecore/kdecoremod.sip.in: //%Include kmimetypetrader.sip //%Include kmacroexpander.sip At that point, I get another "can't use default assignment operator" error: ------------- g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I. -I../extra/kde404 -I/usr/kde/4.0/include -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/kde/4.0/include/sonnet -I/usr/include/python2.5 -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/X11R6/include -o sipkdecoreKEncodingDetector.o sipkdecoreKEncodingDetector.cpp /usr/kde/4.0/include/kencodingdetector.h: In member function 'KEncodingDetector& KEncodingDetector::operator=(const KEncodingDetector&)': /usr/kde/4.0/include/kencodingdetector.h:59: error: non-static const member 'KEncodingDetectorPrivate* const KEncodingDetector::d', can't use default assignment operator sipkdecoreKEncodingDetector.cpp: In function 'void assign_KEncodingDetector(void*, const void*)': sipkdecoreKEncodingDetector.cpp:596: note: synthesized method 'KEncodingDetector& KEncodingDetector::operator=(const KEncodingDetector&)' first required here make[1]: *** [sipkdecoreKEncodingDetector.o] Error 1 make[1]: Leaving directory `/home/share/packages/PyKDE4-4.0.2-1/kdecore' make: *** [all] Error 2 -------------- If I comment out //%Include kencodingdetector.sip, configure.py fails: -------------- $ python configure.py -k /usr/kde/4.0/ package /usr/lib64/python2.5/site-packages/PyKDE4 PyKDE version 4.0.2 ------- Python include directory is /usr/include/python2.5 Python version is 2.5.2 sip version is 4.7.5 (4.7.5) Qt directory is /usr Qt version is 4.4.0 PyQt directory is /usr/share/sip PyQt version is 4.4 (4.4.0) gcc version 4.2.3 no concatenation KDE base directory is /usr/kde/4.0/ KDE include directory is /usr/kde/4.0/include KDE lib directory is /usr/kde/4.0/lib64 lib directory is lib KDE version is 4.0.4 (0x40004) PyKDE modules will be installed in /usr/lib64/python2.5/site-packages/PyKDE4 PyKDE .sip files will be installed in /usr/share/sip/PyKDE4 PyKDE modules to be built: kdecore solid kdeui kio kutils kparts khtml Generating the C++ source for the kdecore module... Creating the Makefile for the kdecore module... Generating the C++ source for the solid module... Creating the Makefile for the solid module... Generating the C++ source for the kdeui module... sip: KEncodingDetector::AutoDetectScript is undefined Error: Unable to create the C++ code. --------------- Is there something else I should try at this point? On Friday 16 May 2008 07:03:44 am Giacomo Lacava wrote: > Isn't this related to > http://www.riverbankcomputing.com/pipermail/pyqt/2008-March/018916.html > ? > > the fixed PyKDE 4.0.2-2 never made it to the RiverbankComputing site, > you can still only download 4.0.2-1. Is 4.0.2-1 the most up-to-date code available to the public? Thanks, Darren _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt