[PyKDE] PyKDE-3.3.2-2 build problems on stock Red Hat 7.3 system.

Jonathan Gardner jgardn at alumni.washington.edu
Sat Aug 24 19:03:00 BST 2002


I am trying to compile the PyKDE package from PyKDE-3.3.2-2.tar.gz.

I have already downloaded and installed (successfully?) sip-3.3.2, PyQt-3.3.2, 
and such. It seems everything on that end is working well.

I have installed Qt 3.0.3, and $QTDIR points to '/usr/lib/qt3-gcc2.96'. I 
noticed that Qt 3.0.3 seems to be missing from the 'qttag' in build.py.

I have installed KDE 3.0.0, and $KDEDIR is not defined. Red Hat didn't put it 
into /opt. they spread it around the regular filesystem (parts are in 
/usr/include/kde, /usr/lib, etc...)

I untarred the source, read through README, and README.Linux, and ran the 
following sequence of commands:

# python2 build.py -c -l qt-mt -m /usr/bin/make -k /usr -t /usr/include/kde -v 
/usr/share/sip/qt -u /usr/lib | tee build.log

Attached is the build.log. I don't know which parts are important...

# make | tee make.log
I am able to identify the important part here...
...
cd kdecore && "/usr/bin/make" -f Makefile
make[1]: Entering directory `/home/Downloads/PyKDE-3.3.2/kdecore'
g++ -c -pipe -w -I/usr/include/freetype2 -O2 -march=i386 -mcpu=i686 
-fno-exceptions -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -fno-exceptions -I-I -I../extraH -I. 
-I/usr/include/python2.2 -I/usr/include/kde -I-I -I/usr/X11R6/include 
-I/usr/lib/qt3-gcc2.96/include -I/usr/lib/qt3-gcc2.96/mkspecs/default -o 
kdecorehuge.o kdecorehuge.cpp
sipkdecoreKURLList.cpp: In function `PyObject *sipDo_KURL_htmlURL
(PyObject *, PyObject *)':
sipkdecoreKURLList.cpp:509: no matching function for call to
`KURL::htmlURL ()'
make[1]: *** [kdecorehuge.o] Error 1
make[1]: Leaving directory `/home/Downloads/PyKDE-3.3.2/kdecore'
make: *** [sub-kdecore] Error 2

examining /usr/include/kde/kurl.h, I noticed that the KURL class has no method 
"htmlURL".

-- 
Jonathan Gardner
jgardn at alumni.washington.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: text/x-log
Size: 3744 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20020824/cd74e417/build.bin


More information about the PyQt mailing list