<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>
</p>
    <br>
    <div class="moz-cite-prefix">On 03/14/2018 09:15 PM, Even Rouault
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:2291546.M03F3FzDmG@even-i700">
      <meta name="qrichtext" content="1">
      <style type="text/css">
p, li { white-space: pre-wrap; }
</style>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Guillaume,</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Does adding the following in swig/python/setup.py  (just after similar stuff for CXX) helps ?</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">if 'CC' in os.environ and os.environ['CC'].strip().find(' ') >= 0:</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state: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'])</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">    del os.environ['CC']</p>
    </blockquote>
    Yes, this is what I did, and it solves the issue.<br>
    <br>
    <blockquote type="cite" cite="mid:2291546.M03F3FzDmG@even-i700">
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Even</p>
      <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Spatialys - Geospatial professional services</p>
      <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a></p>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <table cellspacing="0" cellpadding="0" border="0">
        <tbody>
          <tr>
            <td> <a href="www.c-s.fr" hreflang="fr"><img
                  src="cid:part1.9F72E810.0869E17F@c-s.fr" alt=""
                  align="left" border="0"></a> </td>
            <td> <font face="verdana" size="1"> <b>Guillaume PASERO</b><br>
                Responsable technique<br>
                <b>Business Unit ESPACE & GeoInformation -
                  Département Payload Data & Applications</b><br>
                <br>
                <b>CS Systèmes d'Information</b><br>
                Parc de la Grande Plaine - 5, Rue Brindejonc des
                Moulinais - BP 15872<br>
                31506 Toulouse Cedex 05 - FRANCE<br>
                +33 561 17 64 21 - <a class="moz-txt-link-freetext"
                  href="mailto:guillaume.pasero@c-s.fr">guillaume.pasero@c-s.fr</a>
              </font></td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>