[Gdal-dev] What python libs are required for gdal compile?
Zhonghai Wang
zhonghaiw at gmail.com
Wed Jun 7 02:56:39 EDT 2006
Hi there,
you need Python 2.3.4, and don`t forget the additional Numeric package 2.3.4
.
best regards
zhonghai
On 6/6/06, Frank Warmerdam <warmerdam at pobox.com> wrote:
>
> Patton, Eric wrote:
> > Having received repeated libtool errors during compliation, I complied
> with
> > libtool support suppressed:
> >
> > gdal_wrap.c:12035: warning: data definition has no type or storage class
> > gdal_wrap.c: In function 'init_gdal':
> > gdal_wrap.c:12040: error: 'PyObject' undeclared (first use in this
> function)
>
> Eric,
>
> The above is quite disturbing. I find it hard to imagine successfully
> including Python.h but not having the PyObject definition at this late
> point in the file.
>
> > gdal_wrap.c:12040: error: 'm' undeclared (first use in this function)
> > gdal_wrap.c:12040: error: 'd' undeclared (first use in this function)
> > gdal_wrap.c:12040: warning: left-hand operand of comma expression has no
> > effect
> > gdal_wrap.c:12040: warning: statement with no effect
> > gdal_wrap.c:12042: warning: implicit declaration of function
> 'Py_InitModule'
> > gdal_wrap.c:12043: warning: implicit declaration of function
> > 'PyModule_GetDict'
> > make[1]: *** [gdal_wrap.o] Error 1
> > make[1]: Leaving directory `/opt/gdal-1.3.2/pymod'
> > make: *** [py-module] Error 2
> >
> > Does anyone know what these errors mean? Are these errors indicate
> problems
> > with my python libraries?
>
> Is this all the errors you get? Is it possible you get some earlier
> errors that might give more clues?
>
> Note, it is critical to have the python development package (which
> contains
> Python.h) installed.
>
> 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 OSGF, http://osgeo.org
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060607/4df70bf8/attachment.html
More information about the Gdal-dev
mailing list