<div>Hi there,</div>
<div> </div>
<div>you need Python 2.3.4, and don`t forget the additional Numeric package 2.3.4.</div>
<div> </div>
<div>best regards<br> </div>
<div>zhonghai<br> </div>
<div><span class="gmail_quote">On 6/6/06, <b class="gmail_sendername">Frank Warmerdam</b> <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Patton, Eric wrote:<br>> Having received repeated libtool errors during compliation, I complied with<br>
> libtool support suppressed:<br>><br>> gdal_wrap.c:12035: warning: data definition has no type or storage class<br>> gdal_wrap.c: In function 'init_gdal':<br>> gdal_wrap.c:12040: error: 'PyObject' undeclared (first use in this function)
<br><br>Eric,<br><br>The above is quite disturbing. I find it hard to imagine successfully<br>including Python.h but not having the PyObject definition at this late<br>point in the file.<br><br>> gdal_wrap.c:12040: error: 'm' undeclared (first use in this function)
<br>> gdal_wrap.c:12040: error: 'd' undeclared (first use in this function)<br>> gdal_wrap.c:12040: warning: left-hand operand of comma expression has no<br>> effect<br>> gdal_wrap.c:12040: warning: statement with no effect
<br>> gdal_wrap.c:12042: warning: implicit declaration of function 'Py_InitModule'<br>> gdal_wrap.c:12043: warning: implicit declaration of function<br>> 'PyModule_GetDict'<br>> make[1]: *** [gdal_wrap.o] Error 1
<br>> make[1]: Leaving directory `/opt/gdal-1.3.2/pymod'<br>> make: *** [py-module] Error 2<br>><br>> Does anyone know what these errors mean? Are these errors indicate problems<br>> with my python libraries?
<br><br>Is this all the errors you get? Is it possible you get some earlier<br>errors that might give more clues?<br><br>Note, it is critical to have the python development package (which contains<br>Python.h) installed.
<br><br>Best regards,<br>--<br>---------------------------------------+--------------------------------------<br>I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com
</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | President OSGF, <a href="http://osgeo.org">http://osgeo.org
</a><br><br>_______________________________________________<br>Gdal-dev mailing list<br><a href="mailto:Gdal-dev@lists.maptools.org">Gdal-dev@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/gdal-dev">
http://lists.maptools.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br>