Bug 278308 - PyKDE4 fails to compile from source when building akonadi bindings
Summary: PyKDE4 fails to compile from source when building akonadi bindings
Status: RESOLVED NOT A BUG
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-23 07:42 UTC by Golnaz Nilieh
Modified: 2011-08-01 07:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Golnaz Nilieh 2011-07-23 07:42:27 UTC
Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

I got latest pykde4 from git.kde.org at July 22, I tried to comiple it using cmake, and got this error message:

[  0%] Built target compile_python_files
[  0%] Building CXX object CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart1.o
/media/mydata/Source/pykde4/pykde4/build/sip/akonadi/sipakonadipart1.cpp: In function ‘PyObject* meth_Akonadi_ResourceBase_setAutomaticProgressReporting(PyObject*, PyObject*)’:
/media/mydata/Source/pykde4/pykde4/build/sip/akonadi/sipakonadipart1.cpp:9213:21: error: ‘class Akonadi::ResourceBase’ has no member named ‘setAutomaticProgressReporting’
make[2]: *** [CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart1.o] Error 1
make[1]: *** [CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2
make: *** [all] Error 2

Is this really a bug or dependency problem?

Reproducible: Always

Steps to Reproduce:
It happens every time I use "make". I've used "cmake" before that and it completed successfully.


Expected Results:  
It should complete the build process without error.

I use KDE 4.6.2 on Ubuntu 11.04, with sip 4.12.1 and PyQt 4.8
Comment 1 Raymond Wooninck 2011-07-25 10:14:36 UTC
To me this looks very much a dependency issue. You are trying to compile the latest PyKDE4 bindings against an older KDE release. This guarantees a failure. 

The latest version of the bindings coming from GIT, will normally only successfully compile against the latest version of all other KDE modules. In your case kdepimlibs 4.6.2 is too old and you would require at least 4.7. 

I am compiling everything from GIT and I can assure you that PyKDE4 compiles fine.
Comment 2 Golnaz Nilieh 2011-08-01 07:40:46 UTC
(In reply to comment #1)
> To me this looks very much a dependency issue. You are trying to compile the
> latest PyKDE4 bindings against an older KDE release. This guarantees a failure. 
> 
> The latest version of the bindings coming from GIT, will normally only
> successfully compile against the latest version of all other KDE modules. In
> your case kdepimlibs 4.6.2 is too old and you would require at least 4.7. 
> 
> I am compiling everything from GIT and I can assure you that PyKDE4 compiles
> fine.

Yes, I upgraded to KDE4.7 and it compiled successfully, thanks!