<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Andrea,</p>
    <p>Cf related <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/pull/9174">https://github.com/OSGeo/gdal/pull/9174</a> that has been
      backported in 3.8 branch (not in release yet) and which will
      completely remove the use of lib2to3 in preparation of python 3.13
      which will no longer provide it.<br>
    </p>
    <p>But you should probably be able to solve your issue by just
      installing the appropriate package which conveys lib2to3 since it
      is still part of python 3.9. This is dependent of your distro. On
      Debian, it is called "python3-lib2to3"<br>
    </p>
    <p>Een<br>
    </p>
    <div class="moz-cite-prefix">Le 06/02/2024 à 00:00, andy via
      gdal-dev a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHEdGZM-wN5BmFw_JLO6zujwHYq5+KNTtHT9fzb8_WBez8Vo2Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi,<br>
        </div>
        <div>I compile gdal 3.7 in this way:</div>
        <div><br>
        </div>
        <div>mkdir -p build</div>
        <div>cd build</div>
        <div>cmake -D GDAL_USE_GEOS=ON -D
          OGR_ENABLE_DRIVER_PARQUET:BOOL=OFF -D
          OGR_ENABLE_DRIVER_ARROW:BOOL=OFF ..</div>
        <div>cmake --build .<br>
        </div>
        <div>sudo cmake --build . --target install<br>
        </div>
        <div><br>
        </div>
        <div>When I run "cmake --build ." I have this error:</div>
        <div><br>
        </div>
        Deprecated command line option: -py3. Ignored, this option is no
        longer supported.<br>
        /usr/bin/python3.9: No module named lib2to3
        <div><br>
        </div>
        <div>How to solve this problem?</div>
        <div><br>
        </div>
        <div>Thank you<br clear="all">
          <div><br>
          </div>
          <span class="gmail_signature_prefix">-- </span><br>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div>
                            <div dir="ltr">
                              <div>
                                <div dir="ltr">
                                  <div dir="ltr"><span
                                      style="font-size:small">___________________</span><br>
                                  </div>
                                  <div dir="ltr"><span
                                      style="font-size:small"><br>
                                    </span></div>
                                  <div dir="ltr">Andrea Borruso<br>
                                    website: <a
href="https://medium.com/tantotanto" target="_blank"
                                      moz-do-not-send="true"
                                      class="moz-txt-link-freetext">https://medium.com/tantotanto</a><br>
                                    38° 7' 48" N, 13° 21' 9" E,
                                    EPSG:4326<br>
                                    <span style="font-size:small">___________________</span><br>
                                    <br>
                                    "cercare e saper riconoscere chi e
                                    cosa,<br>
                                     in mezzo all’inferno, non è
                                    inferno, <br>
                                    e farlo durare, e dargli spazio"<br>
                                    <br>
                                    Italo Calvino<br>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>