Greg,<br><br>This issue is actively being pursued. There is a temporary fix for this.<br>Refer to <a href="http://trac.osgeo.org/gdal/ticket/3468#comment:10">http://trac.osgeo.org/gdal/ticket/3468#comment:10</a><br><br><div class="gmail_quote">
On Tue, Sep 28, 2010 at 8:30 AM, Greg Corradini <span dir="ltr"><<a href="mailto:gregcorradini@gmail.com">gregcorradini@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>I'm trying to install GDAL using easy_install as detailed here (<a href="http://trac.osgeo.org/gdal/wiki/GdalOgrInPython" target="_blank">http://trac.osgeo.org/gdal/wiki/GdalOgrInPython</a>). I've never see this error before on my other GDAL Ubuntu 9.0 installs. Not sure what it means. I'm wondering if it might have to do with NumPy (I think I screwed that install up). Any ideas?<br>
<br><br># sudo easy_install GDAL<br>Searching for GDAL<br>Reading <a href="http://pypi.python.org/simple/GDAL/" target="_blank">http://pypi.python.org/simple/GDAL/</a><br>Reading <a href="http://www.gdal.org" target="_blank">http://www.gdal.org</a><br>
Best match: GDAL 1.7.1<br>
Downloading <a href="http://pypi.python.org/packages/source/G/GDAL/GDAL-1.7.1.tar.gz#md5=38b838d528b309a28a3aa24d4fcef3cd" target="_blank">http://pypi.python.org/packages/source/G/GDAL/GDAL-1.7.1.tar.gz#md5=38b838d528b309a28a3aa24d4fcef3cd</a><br>
Processing GDAL-1.7.1.tar.gz<br>Running GDAL-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-drTCwM/GDAL-1.7.1/egg-dist-tmp-nxP_u9<br>Could not run gdal-config!!!!<br>cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++<br>
extensions/gdal_wrap.cpp: In function ‘int PyProgressProxy(double, const char*, void*)’:<br>extensions/gdal_wrap.cpp:2969: warning: the address of ‘_Py_NoneStruct’ will never be NULL<br>extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_MajorObject_SetMetadata__SWIG_0(PyObject*, PyObject*)’:<br>
extensions/gdal_wrap.cpp:5854: warning: deprecated conversion from string constant to ‘char*’<br>extensions/gdal_wrap.cpp: In function ‘PyObject* _wrap_PushErrorHandler(PyObject*, PyObject*)’:<br>extensions/gdal_wrap.cpp:4888: warning: ‘argv[0]’ may be used uninitialized in this function<br>
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++<br>extensions/osr_wrap.cpp:2906: warning: ‘char* GDALPythonObjectToCStr(PyObject*)’ defined but not used<br>cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++<br>
In file included from extensions/ogr_wrap.cpp:2808:<br>/usr/local/include/ogr_p.h:94:17: error: swq.h: No such file or directory<br>In file included from extensions/ogr_wrap.cpp:2808:<br>/usr/local/include/ogr_p.h:105: error: ‘swq_field_type’ does not name a type<br>
error: Setup script exited with error: command 'gcc' failed with exit status 1<br><br>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>