[Qgis-developer] Failed build QGIS master

Yves Jacolin yjacolin at free.fr
Mon Apr 21 13:57:14 PDT 2014


Hello,

I found the problem: wrong path for python lib in the cmake config file.

Y.
Le lundi 14 avril 2014, 21:27:44 Yves Jacolin a écrit :
> Hello,
> 
> I try to build QGIS master but I get this error, any idea?
> 
> 
> [ 84%] Built target spitplugin
> [ 84%] Building CXX object
> src/python/CMakeFiles/qgispython.dir/qgispython.cpp.o
> [ 84%] Building CXX object
> src/python/CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o
> Linking CXX shared library ../../output/lib/libqgispython.so
> CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction «
> QgsPythonUtilsImpl::initPython(QgisInterface*) »:
> qgspythonutilsimpl.cpp:(.text+0xd7): référence indéfinie vers «
> Py_Initialize » qgspythonutilsimpl.cpp:(.text+0xdc): référence indéfinie
> vers «
> PyEval_InitThreads »
> qgspythonutilsimpl.cpp:(.text+0xf3): référence indéfinie vers «
> PyImport_AddModule »
> qgspythonutilsimpl.cpp:(.text+0x111): référence indéfinie vers «
> PyModule_GetDict »
> qgspythonutilsimpl.cpp:(.text+0x169d): référence indéfinie vers «
> PyEval_SaveThread »
> CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction «
> QgsPythonUtilsImpl::exitPython() »:
> qgspythonutilsimpl.cpp:(.text+0x1f8d): référence indéfinie vers «
> Py_Finalize » CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la
> fonction « QgsPythonUtilsImpl::runStringUnsafe(QString const&, bool) »:
> qgspythonutilsimpl.cpp:(.text+0x2119): référence indéfinie vers «
> PyGILState_Ensure »
> qgspythonutilsimpl.cpp:(.text+0x2173): référence indéfinie vers «
> PyRun_StringFlags »
> qgspythonutilsimpl.cpp:(.text+0x2184): référence indéfinie vers «
> PyErr_Occurred »
> qgspythonutilsimpl.cpp:(.text+0x2197): référence indéfinie vers «
> PyGILState_Release »
> CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o: dans la fonction «
> QgsPythonUtilsImpl::getTraceback() »:
> qgspythonutilsimpl.cpp:(.text+0x2f70): référence indéfinie vers «
> PyGILState_Ensure »
> qgspythonutilsimpl.cpp:(.text+0x2fc2): référence indéfinie vers «
> PyErr_Fetch » [...]
> qgspythonutilsimpl.cpp:(.text+0x3b12): référence indéfinie vers «
> PyGILState_Release »
> collect2: error: ld returned 1 exit status
> make[2]: *** [output/lib/libqgispython.so.2.3.0] Erreur 1
> make[1]: *** [src/python/CMakeFiles/qgispython.dir/all] Erreur 2
> make: *** [all] Erreur 2
> 
> Thanks,
> 
> Y
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Yves Jacolin


More information about the Qgis-developer mailing list