[PyKDE] PyKDE2 alphas6 release/BUGS

Jim Bublitz jbublitz at nwinternet.com
Mon Feb 18 02:06:09 GMT 2002


On 17-Feb-02 Diez B. Roggisch wrote:
> I just downloaded PyKDE2, sip and PyQt (also the latest
> versions). I have KDE 
> 2.2.2/Suse7.2/Qt2.3.2
 
> When compiling PyKDE2 it says:
 
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python2.1 
> -I/usr/lib/qt-2.3.2/include -I/usr/X11R6/include
> -I/opt/kde2/include 
> -fno-exceptions -I ../extraH -O2 -c dcopcmodule.cpp  -fPIC -DPIC
> -o 
> dcopcmodule.lo
> dcopcmodule.cpp:204: type `sipLazyAttrDef' is not a base type for
> type 
> `PyMethodDef'
 
> Any suggestions? 

As far as I can tell, 'sipLazyAttrDef' did not appear in sip until
version 3.1. Try 'sip -V' at the command line - you should get back
'3.0'. If not, you may have a previous build of sip3.1 still
installed. The version I use is libsip.so.7.0.0. libsip.so should
link to that, and that should be the lib listed in libsip.la.

If that's the case, you should be able to delete the 3.1 libs
(usually in /usr/local/lib) and re-install sip 3.0. You may also
need to rebuild PyQt after correcting the libsip versions (not
sure, but I think so). If it isn't a sip version problem, please
post again.

If you have the alpha4 release, it would be worthwhile to get the
alpha6  release of PyKDE2 which is now available at theKompany.

PyKDE2 is not compatible with sip 3.1 (yet). 


Jim





More information about the PyQt mailing list