On 03/14/2018 09:15 PM, Even Rouault wrote:

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']

Yes, this is what I did, and it solves the issue.

 

Even

 

--

Spatialys - Geospatial professional services

http://www.spatialys.com


--
Guillaume PASERO
Responsable technique
Business Unit ESPACE & GeoInformation - Département Payload Data & Applications

CS Systèmes d'Information
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - [email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to