[Gdal-dev] trouble installing latest svn ngpython bindings on python 2.5

Frank Warmerdam warmerdam at pobox.com
Thu Apr 19 23:41:31 EDT 2007


Matthew Perry wrote:
> gdal_wrap.cpp: In function 'int
> SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)':
> gdal_wrap.cpp:2051: error: invalid conversion from 'const char*' to 'char*'
> gdal_wrap.cpp: In function 'void SWIG_Python_FixMethods(PyMethodDef*,
> swig_const_info*, swig_type_info**, swig_type_info**)':
> gdal_wrap.cpp:11168: error: invalid conversion from 'const char*' to 
> 'char*'
> error: command 'gcc' failed with exit status 1
> make[2]: *** [install] Error 1
> make[2]: Leaving directory `/home/perry/src/gdal/swig/python'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/perry/src/gdal/swig'
> make: *** [install-actions] Error 2

Matthew,

I have committed r11301 with the python ng swig bindings regenerated
with swig 1.3.31 instead of 1.3.29 and I think this will fix this
problem (that only bites with python 2.5).

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list