On 01/16/2011 01:23 PM, Dr.-Ing. Edgar Alwers wrote: > In order to build kdeadmin-4.5.5 I would like to build the recommended pykde4 module. > I got pykde4 from "git clone git://anongit.kde.org/pykde4", but make fails with an fatal error: akonadi/indexpolicyattribute.h: no such file or directory". > > It seems again to be an incompatibility issue. I have the akonadi version from tag 4.5, that should be correct, and sip-4.12. What could be the matter ? I am using the current 4.5 release branch. I got it with SVN from: svn://anonsvn.kde.org/home/kde/branches/KDE/4.5/kdebindings/python/pykde4 and I have to say that I don't know if it requires any of the other stuff in KDEBindings, but I think it might. What I can tell you is that it won't build against sip-4.12.1 and PyQt-x11-gpl-4.8.3. EDITORIAL: To me, this looks rather sloppy. If something requires a specific version of other libraries to build, then it should look for them and at least provide a warning that it won't work. This appears to be an ongoing problem which Gentoo keeps solving. For the above URL, you need the patch attached to: http://bugs.gentoo.org/show_bug.cgi?id=349707 {use the one at the bottom of the list of attachments} This fixes the problem for me with the KDEBinding package. The GIT of PyKDE4 pulled today does not accept the patch and does not build for me. Build fails with the same error. I would guess that it needs a newer version of Akonadi. So, I would suggest you: check out the whole section KDEBindings with SVN, apply the patch, make a build directory, configure the whole section then cd to /python/pykde4 and make. If it needs other stuff, it should build it as well --- you would then need to install those parts as well. Then if you don't want the stuff that didn't build, you can 'svn rm' it. OR You can just check out just PyKDE4 from the above URL, patch it, and see if it will build. -- James Tyrer Linux (mostly) From Scratch ___________________________________________________ This message is from the kde-linux mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-linux. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.