[gdal-dev] GDAL python bindings build error (gcc command replaced by bash)
Even Rouault
even.rouault at spatialys.com
Wed Mar 14 13:15:41 PDT 2018
Guillaume,
Does adding the following in swig/python/setup.py (just after similar stuff for CXX) helps ?
if 'CC' in os.environ and os.environ['CC'].strip().find(' ') >= 0:
print('WARNING: "CC=%s" was defined in the environment and contains more than one word. Unsetting it since that is incompatible of distutils' % os.environ['CC'])
del os.environ['CC']
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180314/f887902a/attachment.html>
More information about the gdal-dev
mailing list