Date: Mon, 30 Nov 2009 21:59:58 +0100 From: Rainer Hurling <rhurlin@gwdg.de> To: wen heping <wenheping@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: graphics/qgis does not compile any more Message-ID: <4B14324E.6040205@gwdg.de> In-Reply-To: <7be7a2800911280226o511f4f62h1ba8213b08ff8713@mail.gmail.com> References: <4B10F418.90106@gwdg.de> <7be7a2800911280226o511f4f62h1ba8213b08ff8713@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Wen, many thanks for the patch. QGIS builds on CURRENT again :-) Rainer On 28.11.2009 11:26 (UTC+1), wen heping wrote: > I will test it later. > Thank your message! > > Regards, > wen > > On Sat, Nov 28, 2009 at 5:57 PM, Rainer Hurling <rhurlin@gwdg.de > <mailto:rhurlin@gwdg.de>> wrote: > > Today I updated my 9.0-CURRENT ports to python-2.6.4. Now I am not > able to compile qgis any more. The following error occurs: > > --------------------------------------------------------------------------- > [ 61%] Generating core/core.so > g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG > -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ > orts/graphics/qgis/work/qgis-1.3.0/src/core/raster > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer > -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology > -I/usr/ports graphics/qgis/work/qgis-1.3.0 -I/usr/local/include > -I/usr/local/include/python2.6 > -I/usr/local/share/qt4/mkspecs/default -I/u > r/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui > -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg - > /usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o > sipcorecmodule.o sipcorecmodule.cpp > g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG > -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ > orts/graphics/qgis/work/qgis-1.3.0/src/core/raster > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer > -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology > -I/usr/ports graphics/qgis/work/qgis-1.3.0 -I/usr/local/include > -I/usr/local/include/python2.6 > -I/usr/local/share/qt4/mkspecs/default -I/u > r/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui > -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg - > /usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o > sipcoreQList0101QgsVectorOverlay.o sipcoreQList0101QgsVectorOverlay. pp > g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG > -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ > orts/graphics/qgis/work/qgis-1.3.0/src/core/raster > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer > -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology > -I/usr/ports graphics/qgis/work/qgis-1.3.0 -I/usr/local/include > -I/usr/local/include/python2.6 > -I/usr/local/share/qt4/mkspecs/default -I/u > r/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui > -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg - > /usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o > sipcoreQMultiMap24000100QgsSnappingResult.o sipcoreQMultiMap24000100 > gsSnappingResult.cpp > g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG > -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ > orts/graphics/qgis/work/qgis-1.3.0/src/core/raster > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer > -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology > -I/usr/ports graphics/qgis/work/qgis-1.3.0 -I/usr/local/include > -I/usr/local/include/python2.6 > -I/usr/local/share/qt4/mkspecs/default -I/u > r/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui > -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg - > /usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o > sipcoreQList0100QgsVectorDataProviderNativeType.o sipcoreQList0100Qg > VectorDataProviderNativeType.cpp > g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG > -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_XML_LI -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer -I/usr/ > orts/graphics/qgis/work/qgis-1.3.0/src/core/raster > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer > -I/usr/ports/ raphics/qgis/work/qgis-1.3.0/src/core/spatialindex > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology > -I/usr/ports/graphics/qgis/work/qgis-1.3.0 -I/usr/local/include > -I/usr/local/include/python2.6 > -I/usr/local/share/qt4/mkspecs/default > -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui > -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg > -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o > sipcoreQMap18000100QgsGeometry.o sipcoreQMap18000100QgsGeometry.cpp > g++ -c -DCORE_EXPORT= -pipe -fPIC -O2 -Wall -W -DNDEBUG > -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_XML_LIB -I. -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/composer > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/raster > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/renderer > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/spatialindex > -I/usr/ports/graphics/qgis/work/qgis-1.3.0/src/core/symbology > -I/usr/ports/graphics/qgis/work/qgis-1.3.0 -I/usr/local/include > -I/usr/local/include/python2.6 > -I/usr/local/share/qt4/mkspecs/default > -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui > -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtSvg > -I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4 -o > sipcoreQMap18000600QMap18000100QVariant.o > sipcoreQMap18000600QMap18000100QVariant.cpp/usr/ports/graphics/qgis/work/qgis-1.3.0/python/core/conversions.sip: > In function 'int > convertTo_QMap_1800_0600QMap_1800_0100QVariant(PyObject*, void**, > int*, PyObject*)': > /usr/ports/graphics/qgis/work/qgis-1.3.0/python/core/conversions.sip:369: > error: 'sipClass_QVariant' was not declared in this scope > /usr/ports/graphics/qgis/work/qgis-1.3.0/python/core/conversions.sip:396: > error: 'sipClass_QVariant' was not declared in this scope > gmake: *** [sipcoreQMap18000600QMap18000100QVariant.o] Fehler 1 > *** Error code 2 > > Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0. > *** Error code 1 > > Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0. > *** Error code 1 > > Stop in /usr/ports/graphics/qgis/work/qgis-1.3.0. > *** Error code 1 > > Stop in /usr/ports/graphics/qgis. > *** Error code 1 > > Stop in /usr/ports/graphics/qgis. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade20091128-50806-1ytkoq3-0 env > UPGRADE_TOOL=portupgrade UPGRADE_PORT=qgis-1.3.0 > UPGRADE_PORT_VER=1.3.0 make > ** Fix the problem and try again. > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! graphics/qgis (qgis-1.3.0) (unknown build error) > --------------------------------------------------------------------------- > > Starting the qgis version compiled under python-2.4 gives me the > following hints. Obviously the API change from v5.0 to v6.0 is > causing this? > > --------------------------------------------------------------------------- > PyQGIS konnte nicht geladen werden. > Die Python-Unterstützung wird abgeschaltet. > > 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.4 (r264:75706, Nov 27 2009, 16:35:12) > [GCC 4.2.1 20070719 [FreeBSD]] > > Python-Pfad: > ['/usr/local/share/qgis/python', > '/home/rhurlin/.qgis//python/plugins', > '/usr/local/share/qgis/python/plugins', > '/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', > '/usr/local/lib/python2.6/site-packages/nose-0.10.4-py2.6.egg', > '/usr/local/lib/python2.6/site-packages/simplejson-2.0.9-py2.6-freebsd-9.0-CURRENT-i386.egg', > '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', > '/usr/local/lib/python2.6/plat-freebsd9', > '/usr/local/lib/python2.6/lib-tk', > '/usr/local/lib/python2.6/lib-old', > '/usr/local/lib/python2.6/lib-dynload', > '/usr/local/lib/python2.6/site-packages', > '/usr/local/lib/python2.6/site-packages/Numeric', > '/usr/local/kde4/lib/python2.6/site-packages', > '/usr/local/lib/python2.6/site-packages/gst-0.10', > '/usr/local/lib/python2.6/site-packages/gtk-2.0'] > --------------------------------------------------------------------------- > > If possible, I don't want to turn off python support in qgis. > > Thanks in advance, > Rainer Hurling > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B14324E.6040205>