Hello,<br>I&#39;m trying to install GDAL using easy_install as detailed here (<a href="http://trac.osgeo.org/gdal/wiki/GdalOgrInPython">http://trac.osgeo.org/gdal/wiki/GdalOgrInPython</a>). I&#39;ve never see this error before on my other GDAL Ubuntu 9.0 installs. Not sure what it means. I&#39;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/">http://pypi.python.org/simple/GDAL/</a><br>Reading <a href="http://www.gdal.org">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">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 &quot;-Wstrict-prototypes&quot; 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 &quot;-Wstrict-prototypes&quot; 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 &quot;-Wstrict-prototypes&quot; 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 &#39;gcc&#39; failed with exit status 1<br><br>