[Qgis-developer] Error after Upgrade to Ubuntu 9.10

Matthew Denno mgdenno at gmail.com
Fri Oct 16 14:15:05 EDT 2009


Alex,

I maybe came across wrong.  I know that there will likely be issues when
using beta versions... I don't mind messing around with it to try and get it
working.  And on that note, I tried to build from sources and am getting an
error.  I am using the following procedure:

1- apt-get install devscripts build-essential
2- apt-get source qgis
3- apt-get build-dep qgis (this will install all build dependencies needed)
4- cd qgis-1.3.0
5- debuild -us -uc

It fails on the debuild step (obviously I guess)

Here are the last few lines, I think this is where the errors start:

[ 56%] Generating core/core.so
make[4]: Entering directory `/home/vbox/qgis-1.3.0/debian/build/python/core'
/home/vbox/qgis-1.3.0/python/core/conversions.sip: In function ‘int
convertTo_QMap_1800_0600QMap_1800_0100QVariant(PyObject*, void**, int*,
PyObject*)’:
/home/vbox/qgis-1.3.0/python/core/conversions.sip:369: error:
‘sipClass_QVariant’ was not declared in this scope
/home/vbox/qgis-1.3.0/python/core/conversions.sip:396: error:
‘sipClass_QVariant’ was not declared in this scope
make[4]: *** [sipcoreQMap18000600QMap18000100QVariant.o] Error 1
make[4]: Leaving directory `/home/vbox/qgis-1.3.0/debian/build/python/core'
make[3]: *** [python/core/core.so] Error 2
make[3]: Leaving directory `/home/vbox/qgis-1.3.0/debian/build'
make[2]: *** [python/CMakeFiles/python.dir/all] Error 2
make[2]: Leaving directory `/home/vbox/qgis-1.3.0/debian/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/vbox/qgis-1.3.0/debian/build'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1334:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Any suggestions how to proceed?

Thanks,

Matt

On Fri, Oct 16, 2009 at 11:40 AM, Alex Mandel <tech_dev at wildintellect.com>
wrote:
>
> Yes, it is most likely that the package will be updated when karmic is
> released and the chance of SIP changing again has gone away.
>
> In the future keep in mind that unreleased versions of Ubuntu still in
> the pipes probably will have similar issues with QGIS and many other
> apps out there.
>
> Thanks,
> Alex
>
> Matthew Denno wrote:
> > Francesco,
> >
> > Thanks for your response.
> >
> > So, do you think that the karmic repositories will eventually be updated
to
> > work with the the version of sip that ships with karmic?
> >
> > I don't need python support right now so if it will probably be updated
in
> > the near future I will just wait.
> >
> > Thanks again.
> >
> > Matt
> >
> > On Fri, Oct 16, 2009 at 4:21 AM, Francesco P. Lovergine <
> > f.lovergine at ba.issia.cnr.it> wrote:
> >
> >> On Thu, Oct 15, 2009 at 11:19:51PM -0400, Matthew Denno wrote:
> >>> Hello All,
> >>>
> >>> I just upgraded to Ubuntu 9.10 beta and also upgraded from QGIS 1.2 to
> >>> QGIS to 1.3 from:
> >>>
> >>> http://ppa.launchpad.net/qgis/unstable/ubuntu karmic main
> >>>
> >>> Now I am receiving the following error when QGIS starts:
> >>>
> >>> Couldn't load PyQGIS.
> >>> Python support will be disabled.
> >>>
> >>> Traceback (most recent call last):
> >>>   File "", line 1, in
> >>> RuntimeError: the sip module implements API v6.0 but the qgis.core
> >>> module requires API v5.0
> >>>
> >>> Python version:
> >>> 2.6.4rc1 (r264rc1:75270, Oct 13 2009, 17:19:38)
> >>> [GCC 4.4.1]
> >>>
> >> AFAIK you need to rebuild (no source changes) against current sip.
> >>
> >> --
> >> Francesco P. Lovergine
> >>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091016/c9e9705c/attachment.html


More information about the Qgis-developer mailing list