[Qgis-user] Building qgis2google on Mac

Don MacQueen macq at llnl.gov
Sun Nov 8 16:32:50 PST 2009


I've started trying to build qgis2google on Mac, based on advice 
received from a previous query (thank you!), that suggests building 
qgis2google as an intrinsic part of building QGis itself, from 
source. Unfortunately for me, I have been using William 
Kyngesburye's' binary distribution for Mac, so building from source 
is a bit of a challenge -- for me, that is.

I've followed the instructions on the qgis INSTALL file (very 
thorough and clear, by the way).
Anyway, I believe I've downloaded and installed current versions all 
of the necessary requirements.
The cmake step appears to be ok.
The make step stops with an error, shown here:


[ 55%] Generating core/Makefile, gui/Makefile
Parsing SIP files for 'core' library...
/Library/Frameworks/Python.framework/Versions/2.6/bin/sip -c core -b 
/Users/macqueen1/darwin.apps/Qgis/source/build/python/core/core.sbf 
-I /Library/Frameworks/Python.framework/Versions/2.6/share/sip/PyQt4 
-x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_5_0 -x Py_v3 
-g 
/Users/macqueen1/darwin.apps/Qgis/source/qgis-1.3.0/python/core/core.sip
Parsing SIP files for 'gui' library...
/Library/Frameworks/Python.framework/Versions/2.6/bin/sip -c gui -b 
/Users/macqueen1/darwin.apps/Qgis/source/build/python/gui/gui.sbf -I 
/Users/macqueen1/darwin.apps/Qgis/source/qgis-1.3.0/python -I 
/Library/Frameworks/Python.framework/Versions/2.6/share/sip/PyQt4 -x 
VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_5_0 -x Py_v3 -g 
/Users/macqueen1/darwin.apps/Qgis/source/qgis-1.3.0/python/gui/gui.sip
Creating makefiles...
Creating qgisconfig.py...
Done
[ 55%] Generating core/core.so
/Users/macqueen1/darwin.apps/Qgis/source/qgis-1.3.0/python/core/conversions.sip: 
In function 'int 
convertTo_QMap_1800_0600QMap_1800_0100QVariant(PyObject*, void**, 
int*, PyObject*)':
/Users/macqueen1/darwin.apps/Qgis/source/qgis-1.3.0/python/core/conversions.sip:369: 
error: 'sipClass_QVariant' was not declared in this scope
/Users/macqueen1/darwin.apps/Qgis/source/qgis-1.3.0/python/core/conversions.sip:396: 
error: 'sipClass_QVariant' was not declared in this scope
make[3]: *** [sipcoreQMap18000600QMap18000100QVariant.o] Error 1
make[2]: *** [python/core/core.so] Error 2
make[1]: *** [python/CMakeFiles/python.dir/all] Error 2
make: *** [all] Error 2


Suggestions would again be most welcome!

I have
  sip  4.9.1
  Qt 4.5.4
  PyQt   4.6.1
  python 2.6
  Mac OS X 10.5.8

Thanks
-Don
-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062
--------------------------------------



More information about the Qgis-user mailing list