[gdal-dev] GDAL easy_install problem

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Sep 28 01:33:20 EDT 2010


Greg,

This issue is actively being pursued. There is a temporary fix for this.
Refer to http://trac.osgeo.org/gdal/ticket/3468#comment:10

On Tue, Sep 28, 2010 at 8:30 AM, Greg Corradini <gregcorradini at gmail.com>wrote:

> Hello,
> I'm trying to install GDAL using easy_install as detailed here (
> http://trac.osgeo.org/gdal/wiki/GdalOgrInPython). 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?
>
>
> # sudo easy_install GDAL
> Searching for GDAL
> Reading http://pypi.python.org/simple/GDAL/
> Reading http://www.gdal.org
> Best match: GDAL 1.7.1
> Downloading
> http://pypi.python.org/packages/source/G/GDAL/GDAL-1.7.1.tar.gz#md5=38b838d528b309a28a3aa24d4fcef3cd
> Processing GDAL-1.7.1.tar.gz
> 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
> Could not run gdal-config!!!!
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
> Ada/C/ObjC but not for C++
> extensions/gdal_wrap.cpp: In function ‘int PyProgressProxy(double, const
> char*, void*)’:
> extensions/gdal_wrap.cpp:2969: warning: the address of ‘_Py_NoneStruct’
> will never be NULL
> extensions/gdal_wrap.cpp: In function ‘PyObject*
> _wrap_MajorObject_SetMetadata__SWIG_0(PyObject*, PyObject*)’:
> extensions/gdal_wrap.cpp:5854: warning: deprecated conversion from string
> constant to ‘char*’
> extensions/gdal_wrap.cpp: In function ‘PyObject*
> _wrap_PushErrorHandler(PyObject*, PyObject*)’:
> extensions/gdal_wrap.cpp:4888: warning: ‘argv[0]’ may be used uninitialized
> in this function
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
> Ada/C/ObjC but not for C++
> extensions/osr_wrap.cpp:2906: warning: ‘char*
> GDALPythonObjectToCStr(PyObject*)’ defined but not used
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
> Ada/C/ObjC but not for C++
> In file included from extensions/ogr_wrap.cpp:2808:
> /usr/local/include/ogr_p.h:94:17: error: swq.h: No such file or directory
> In file included from extensions/ogr_wrap.cpp:2808:
> /usr/local/include/ogr_p.h:105: error: ‘swq_field_type’ does not name a
> type
> error: Setup script exited with error: command 'gcc' failed with exit
> status 1
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100928/f43e2662/attachment.html


More information about the gdal-dev mailing list