[PyQt] error building PyKDE 4.0.2-1 - QTDIR not respected

Giacomo Lacava g.lacava at gmail.com
Mon Mar 24 14:31:34 GMT 2008


Hi,
I can't build PyKDE 4.0.2-1, even though KDE 4.0.2 is installed. It
seems it cannot find the Qt include files, even though QTDIR is set to
a symbolic link (/home/pyqt-trunk/share/qt4) pointing to the correct
/home/pyqt-trunk/share/qt4.3.3. The mentioned includes

The error:
g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -Wall -W
-D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I.
-I../extra/kde402 -I/home/pyqt-trunk/kde4/include
-I/home/pyqt-trunk/kde4/include/QtCore
-I/home/pyqt-trunk/kde4/include/QtGui
-I/home/pyqt-trunk/kde4/include/QtNetwork
-I/home/pyqt-trunk/kde4/include/sonnet -I/home/pyqt-trunk/src/headers
-I/usr/include/python2.4
-I/home/pyqt-trunk/share/qt4.3.3/mkspecs/default
-I/home/pyqt-trunk/share/qt4.3.3/include/QtCore
-I/home/pyqt-trunk/share/qt4.3.3/include/QtGui
-I/home/pyqt-trunk/share/qt4.3.3/include -I/usr/X11R6/include -o
sipkdecoreKMimeType.o sipkdecoreKMimeType.cpp
g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -Wall -W
-D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -I.
-I../extra/kde402 -I/home/pyqt-trunk/kde4/include
-I/home/pyqt-trunk/kde4/include/QtCore
-I/home/pyqt-trunk/kde4/include/QtGui
-I/home/pyqt-trunk/kde4/include/QtNetwork
-I/home/pyqt-trunk/kde4/include/sonnet -I/home/pyqt-trunk/src/headers
-I/usr/include/python2.4
-I/home/pyqt-trunk/share/qt4.3.3/mkspecs/default
-I/home/pyqt-trunk/share/qt4.3.3/include/QtCore
-I/home/pyqt-trunk/share/qt4.3.3/include/QtGui
-I/home/pyqt-trunk/share/qt4.3.3/include -I/usr/X11R6/include -o
sipkdecoreKSocketFactory.o sipkdecoreKSocketFactory.cpp
/home/pyqt-trunk/share/sip/QtNetwork/qtcpsocket.sip:29:24: error:
qtcpsocket.h: No such file or directory
/home/pyqt-trunk/share/sip/QtNetwork/qtcpserver.sip:29:24: error:
qtcpserver.h: No such file or directory
/home/pyqt-trunk/share/sip/QtNetwork/qhostaddress.sip:33:26: error:
qhostaddress.h: No such file or directory
/home/pyqt-trunk/share/sip/QtNetwork/qudpsocket.sip:33:24: error:
qudpsocket.h: No such file or directory
/home/pyqt-trunk/share/sip/QtNetwork/qnetworkproxy.sip:29:27: error:
qnetworkproxy.h: No such file or directory
make[1]: *** [sipkdecoreKSocketFactory.o] Error 1
make[1]: Leaving directory `/home/pyqt-trunk/src/PyKDE4-4.0.2-1/kdecore'
make: *** [all] Error 2
makeobj[0]: Leaving directory `/home/pyqt-trunk/src/PyKDE4-4.0.2-1'

************
output of configure.py:

Python include directory is /usr/include/python2.4
Python version is 2.4.4

sip version is 4.7.4 (4.7.4)

Qt directory is /home/pyqt-trunk/share/qt4.3.3
Qt version is 4.3.3

PyQt directory is /home/pyqt-trunk/share/sip
PyQt version is 4.3.3 (4.3.3)

gcc version 4.1.2
no concatenation

KDE base directory is /home/pyqt-trunk/kde4
KDE include directory is /home/pyqt-trunk/kde4/include
KDE lib directory is /home/pyqt-trunk/kde4/lib
lib directory is /home/pyqt-trunk/lib
KDE version is 4.0.2 (0x40002)

PyKDE modules will be installed in /home/pyqt-trunk/lib/pythonlibs/PyKDE4
PyKDE .sip files will be installed in /home/pyqt-trunk/share/sip/PyKDE4
*******
Any suggestions?
cheers
-- 
Giacomo Lacava


More information about the PyQt mailing list