[ELGIS] Compiling qgis 1.8.0

Volker Froehlich volker27 at gmx.at
Wed Jul 4 14:08:29 PDT 2012



On Wed, 2012-07-04 at 22:17 +0200, Volker Froehlich wrote:
> On Wed, 2012-07-04 at 17:09 +0200, Volker Froehlich wrote:
> > There we go!
> > 
> > http://hub.qgis.org/projects/quantum-gis/repository/revisions/67c77e5532d7910571b4c84bb4dce3000a0cb359/diff/python/CMakeLists.txt
> 
> http://hub.qgis.org/issues/5944
> 
> As far as I can see, you could strip out the -o without causing any
> harm:

Yes, it's as easy as that, see attachment.

If you're using the Fedora specfile, there's a mistake in the files
section:

-%if ! (0%{?fedora} > 14 || 0%{?rhel})
+%if 0%{?rhel}

>http://www.riverbankcomputing.co.uk/static/Docs/sip4/command_line.html

> Volker
> 
> > Let's ask Tim!
> > 
> > Volker
> > 
> > On Wed, 2012-07-04 at 16:42 +0300, Micha Silver wrote:
> > > I took a shot at compiling QGIS 1.8.0 on SL 6. No luck. I got errors
> > > regarding sip, so I tried to install a later version of sip
> > > [micha at SL6 build]$ sip -V
> > > 4.13.4-snapshot-9b330b545c65
> > > 
> > > and then, during the build of QGIS I got a bunch of "Deprecation
> > > warning" messages, then:
> > > 
> > > [ 90%] Building CXX object
> > > python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart0.cpp.o
> > > /home/micha/Downloads/qgis-1.8.0/python/core/conversions.sip: In
> > > function ‘int
> > > convertTo_QMap_3800_0600QMap_1800_0100QVariant(PyObject*, void**,
> > > int*, PyObject*)’:
> > > /home/micha/Downloads/qgis-1.8.0/python/core/conversions.sip:583:
> > > error: ‘sipClass_QVariant’ was not declared in this scope
> > > /home/micha/Downloads/qgis-1.8.0/python/core/conversions.sip:610:
> > > error: ‘sipClass_QVariant’ was not declared in this scope
> > > make[2]: ***
> > > [python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart0.cpp.o] Error 1
> > > make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error
> > > 2
> > > make: *** [all] Error 2
> > > 
> > > The system rpm of sip-4.9.3 is still installed. Is that interfering? 
> > > 
> > > Any ideas how to continue?
> > > Thanks,
> > > Micha
> > > _______________________________________________
> > > el mailing list
> > > el at lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/el
> > 
> > 
> > _______________________________________________
> > el mailing list
> > el at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/el
> 
> 
> _______________________________________________
> el mailing list
> el at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/el

-------------- next part --------------
A non-text attachment was scrubbed...
Name: qgis-1.8.0-sip410.patch
Type: text/x-patch
Size: 2079 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/el/attachments/20120704/dded1341/attachment.bin>


More information about the el mailing list