[Qgis-developer] compiling trunk without python.

Martin Dobias wonder.sk at gmail.com
Wed Nov 7 14:05:39 EST 2007


Hi,

compilation should work without python.

Your cmake snippet says that python libraries have been found, that
means that also include files should be available. Can you look at the
contents of the following cmake variables? (e.g. by using ccmake)
PYTHON_LIBRARIES
PYTHON_INCLUDE_PATH

Is there Python.h file somewhere in your system?
Also please run compilation again in verbose mode:
make VERBOSE=1
... and paste here the compiler line used for compilation of qgspythonutils.cpp


Martin

On 11/7/07, Oleg Gusev <oleg at crista.uni-wuppertal.de> wrote:
>
> i have tried to compile the latest SVN version of qgis
> but it fails  in qgspythonutils.cpp.
> Had python became a requirement to compile qgis ?
>
>  Oleg.
>
> qgis_unstable/src/app/qgspythonutils.cpp:19:20: error: Python.h: No such file
> or directory
>
> -- Found Proj: /usr/local/lib/libproj.so
> -- Found Sqlite3: /usr/lib64/libsqlite3.so
> -- Found GEOS: /usr/local/lib/libgeos.so
> -- Found GDAL: /usr/local/lib/libgdal.so
> -- Found PostgreSQL: /usr/lib64/libpq.so
> -- Found Expat: /usr/lib64/libexpat.so
> -- Using GSL from /usr
> -- Found GRASS: /usr/local/grass-6.3.cvs (6.3.cvs)
> -- Python libraries found
> -- SIP python module is missing!
> -- PyQt4 not found!
> -- Python bindings disabled due dependency problems!
> -- Found Qt-Version 4.3.2
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>



More information about the Qgis-developer mailing list