[Qgis-developer] Compilation core.sip syntax error and ImportError: dynamic module does not define init function
Radim Blazek
radim.blazek at gmail.com
Wed Jun 12 01:25:05 PDT 2013
On Wed, Jun 12, 2013 at 10:03 AM, Nathan Woodrow <madmanwoo at gmail.com> wrote:
> Hey Radim,
>
> Which platform are you on and what version of SIP do you have? Your version
> of might not support something in the header that I added.
Debian 6.0 Squeeze, Qt 4.6.3, Python 2.6.6, SIP 4.10.2, PyQt4 4.7.3
Radim
> - Nathan
>
>
> On Wed, Jun 12, 2013 at 6:02 PM, Radim Blazek <radim.blazek at gmail.com>
> wrote:
>>
>> With latest master b287661c (but I think that it is happening since
>> few commits before) I get error when compiling python:
>>
>> sip: /home/radim/devel/qgis/python/core/core.sip:1: syntax error
>>
>> if I run make again, it gets over this error and fails on
>>
>> sip: /home/radim/devel/qgis/python/analysis/analysis.sip:1: syntax error
>>
>> and so on, syntax error in: networkanalysis.sip, gui.sip. In the end
>> it compiles but when I try to run python with qgis libs or QGIS with
>> python I get:
>>
>> from qgis import gui
>> ImportError: dynamic module does not define init function (initgui)
>>
>> I am not sure if it is caused by previous compilation error.
>>
>> What should I do?
>>
>> Radim
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
More information about the Qgis-developer
mailing list