[PyKDE] More problems with PyKDE 3.3.2
Jim Bublitz
jbublitz at nwinternet.com
Fri Aug 9 17:30:30 BST 2002
On 09-Aug-02 fredrik danerklint wrote:
> Missing -I/usr/X11R6/include in makefile.
> cd kdecore && "/usr/bin/make" -f Makefile
> make[1]: Entering directory
> `/usr/local/src/kde3/afterkde/PyKDE-3.3.2/kdecore'
> g++ -c -pipe -w -O2 -march=athlon -mmmx -m3dnow -D_REENTRANT
> -fPIC
> -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -fno-exceptions -I-I
> -I../extraH -I. -I../../../../../include/python2.2
> -I../../../../../kde3/include -I/usr/local/qt3/include
> -I/usr/local/qt3/mkspecs/default -o kdecorehuge.o kdecorehuge.cpp
> In file included from sip/netwm.sip:138,
> from kdecorehuge.cpp:124:
> ../../../../../kde3/include/netwm.h:31:22: X11/Xlib.h: No such
> file or
> directory
> ../../../../../kde3/include/netwm.h:32:23: X11/Xutil.h: No such
> file or
> directory
> ../../../../../kde3/include/netwm.h:33:23: X11/Xatom.h: No such
> file or
> directory
> make[1]: *** [kdecorehuge.o] Error 1
> make[1]: Leaving directory
> `/usr/local/src/kde3/afterkde/PyKDE-3.3.2/kdecore'
> make: *** [sub-kdecore] Error 2
The following change in PyKDE-3.3.2/sip/kde30/kdecore.sip should
work:
from:
INCLUDEPATH = -I ../extraH @BL_INCLUDEPATH@
to:
INCLUDEPATH = -I ../extraH @BL_INCLUDEPATH@ -I /usr/X11R6/include
It doesn't seem it should be necessary (I haven't needed it at any
rate) as the path should be picked up via qmake from qmake.conf. It
shouldn't hurt to add it for those who need it.
I'll add this change and correct Qt version detection in build.py
and put out an update later today - PyKDE-3.3.2-1
Jim
More information about the PyQt
mailing list