<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>This is the 3rd time in a few days you post the same message,
      with factually incorrect elements (GDAL 3.4.3 doesn't have CMake
      support) as I already pointed out. Please don't do it a 4th time.<br>
    </p>
    <p>Try with the 3.5.0 rc4 sources:</p>
    <p>  <a class="moz-txt-link-freetext"
        href="https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc4.tar.gz">https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc4.tar.gz</a></p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 11/05/2022 à 21:26, Pei JIA a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CADh8Q_WKpOELkhW7c2aVyWxdNFV1EXOPc8Z_N5KRRjH-06zH2Q@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div>Hi, all:</div>
          <div><br>
          </div>
          <div>I successfully configured and built gdal-3.4.3, but
            failed to install it on Ubuntu 22.04, with gcc-11.2,</div>
          <div><i>➜  ~ uname -r  <br>
              5.15.0-27-generic<br>
              ➜  ~ lsb_release -a<br>
              No LSB modules are available.<br>
              Distributor ID: Ubuntu<br>
              Description: Ubuntu 22.04 LTS<br>
              Release: 22.04<br>
              Codename: jammy<br>
              ➜  ~ gcc --version<br>
              gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0<br>
              Copyright (C) 2021 Free Software Foundation, Inc.<br>
              This is free software; see the source for copying
              conditions.  There is NO<br>
              warranty; not even for MERCHANTABILITY or FITNESS FOR A
              PARTICULAR PURPOSE.</i><br>
          </div>
          <div><br>
          </div>
          <div>by using <b>cmake</b>, I successfully configured and
            built gdal-3.4.3, but failed to install with the following
            error message. Any suggestions?</div>
          <div><br>
          </div>
          <div><i>Installing with make install...<br>
              <br>
              ========================= Installation results
              ===========================<br>
              /usr/local/bin/cmake -S....../GDAL -B....../GDAL/build
              --check-build-system CMakeFiles/Makefile.cmake 0<br>
              /usr/local/bin/cmake -E cmake_progress_start
              ....../GDAL/build/CMakeFiles
              ....../GDAL/build//CMakeFiles/progress.marks<br>
              make  -f CMakeFiles/Makefile2 all<br>
              make[1]: Entering directory '....../GDAL/build'<br>
              make  -f CMakeFiles/generate_gdal_version_h.dir/build.make
              CMakeFiles/generate_gdal_version_h.dir/depend<br>
              make[2]: Entering directory '....../GDAL/build'<br>
              cd ....../GDAL/build && /usr/local/bin/cmake -E
              cmake_depends "Unix Makefiles" ....../GDAL ....../GDAL
              ....../GDAL/build ....../GDAL/build
....../GDAL/build/CMakeFiles/generate_gdal_version_h.dir/DependInfo.cmake
              --color=<br>
              make[2]: Leaving directory '....../GDAL/build'<br>
              make  -f CMakeFiles/generate_gdal_version_h.dir/build.make
              CMakeFiles/generate_gdal_version_h.dir/build<br>
              make[2]: Entering directory '....../GDAL/build'<br>
              /usr/local/bin/cmake -DSOURCE_DIR=....../GDAL
              -DBINARY_DIR=....../GDAL/build -DGDAL_SHA1SUM=
              -DGDAL_RELEASE_DATE= -P
              ....../GDAL/cmake/helpers/generate_gdal_version_h.cmake<br>
              -- Found Git: /usr/bin/git (found version "2.34.1")<br>
              CMake Error at
              ....../GDAL/cmake/helpers/generate_gdal_version_h.cmake:27
              (string):<br>
                string sub-command SUBSTRING requires four arguments.<br>
              <br>
              <br>
              make[2]: ***
              [CMakeFiles/generate_gdal_version_h.dir/build.make:73:
              CMakeFiles/generate_gdal_version_h] Error 1<br>
              make[2]: Leaving directory '....../GDAL/build'<br>
              make[1]: *** [CMakeFiles/Makefile2:4367:
              CMakeFiles/generate_gdal_version_h.dir/all] Error 2<br>
              make[1]: Leaving directory '....../GDAL/build'<br>
              make: *** [Makefile:149: all] Error 2<br>
              <br>
              ****  Installation failed. Aborting package creation.<br>
              <br>
              Restoring overwritten files from backup...OK<br>
              <br>
              Cleaning up...OK<br>
              <br>
              Bye.</i><br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>Cheers</div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Wed, May 11, 2022 at
            12:25 PM Pei JIA <<a href="mailto:jp4work@gmail.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">jp4work@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote">
            <div dir="ltr">
              <div><br>
              </div>
              <div>Hi, all:</div>
              <div><br>
              </div>
              <div>I successfully configured and built gdal-3.4.3, but
                failed to install it on Ubuntu 22.04, with gcc-11.2,</div>
              <div><i>➜  ~ uname -r   <br>
                  5.15.0-27-generic<br>
                  ➜  ~ lsb_release -a<br>
                  No LSB modules are available.<br>
                  Distributor ID: Ubuntu<br>
                  Description: Ubuntu 22.04 LTS<br>
                  Release: 22.04<br>
                  Codename: jammy<br>
                  ➜  ~ gcc --version<br>
                  gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0<br>
                  Copyright (C) 2021 Free Software Foundation, Inc.<br>
                  This is free software; see the source for copying
                  conditions.  There is NO<br>
                  warranty; not even for MERCHANTABILITY or FITNESS FOR
                  A PARTICULAR PURPOSE.</i><br>
              </div>
              <div><br>
              </div>
              <div>by using <b>cmake</b>, I successfully configured and
                built gdal-3.4.3, but failed to install with the
                following error message. Any suggestions?</div>
              <div><br>
              </div>
              <div><i>Installing with make install...<br>
                  <br>
                  ========================= Installation results
                  ===========================<br>
                  /usr/local/bin/cmake -S....../GDAL -B....../GDAL/build
                  --check-build-system CMakeFiles/Makefile.cmake 0<br>
                  /usr/local/bin/cmake -E cmake_progress_start
                  ....../GDAL/build/CMakeFiles
                  ....../GDAL/build//CMakeFiles/progress.marks<br>
                  make  -f CMakeFiles/Makefile2 all<br>
                  make[1]: Entering directory '....../GDAL/build'<br>
                  make  -f
                  CMakeFiles/generate_gdal_version_h.dir/build.make
                  CMakeFiles/generate_gdal_version_h.dir/depend<br>
                  make[2]: Entering directory '....../GDAL/build'<br>
                  cd ....../GDAL/build && /usr/local/bin/cmake
                  -E cmake_depends "Unix Makefiles" ....../GDAL
                  ....../GDAL ....../GDAL/build ....../GDAL/build
....../GDAL/build/CMakeFiles/generate_gdal_version_h.dir/DependInfo.cmake
                  --color=<br>
                  make[2]: Leaving directory '....../GDAL/build'<br>
                  make  -f
                  CMakeFiles/generate_gdal_version_h.dir/build.make
                  CMakeFiles/generate_gdal_version_h.dir/build<br>
                  make[2]: Entering directory '....../GDAL/build'<br>
                  /usr/local/bin/cmake -DSOURCE_DIR=....../GDAL
                  -DBINARY_DIR=....../GDAL/build -DGDAL_SHA1SUM=
                  -DGDAL_RELEASE_DATE= -P
                  ....../GDAL/cmake/helpers/generate_gdal_version_h.cmake<br>
                  -- Found Git: /usr/bin/git (found version "2.34.1") <br>
                  CMake Error at
                  ....../GDAL/cmake/helpers/generate_gdal_version_h.cmake:27
                  (string):<br>
                    string sub-command SUBSTRING requires four
                  arguments.<br>
                  <br>
                  <br>
                  make[2]: ***
                  [CMakeFiles/generate_gdal_version_h.dir/build.make:73:
                  CMakeFiles/generate_gdal_version_h] Error 1<br>
                  make[2]: Leaving directory '....../GDAL/build'<br>
                  make[1]: *** [CMakeFiles/Makefile2:4367:
                  CMakeFiles/generate_gdal_version_h.dir/all] Error 2<br>
                  make[1]: Leaving directory '....../GDAL/build'<br>
                  make: *** [Makefile:149: all] Error 2<br>
                  <br>
                  ****  Installation failed. Aborting package creation.<br>
                  <br>
                  Restoring overwritten files from backup...OK<br>
                  <br>
                  Cleaning up...OK<br>
                  <br>
                  Bye.</i><br>
              </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>Cheers</div>
              <div><br>
              </div>
              <div><br>
              </div>
              -- <br>
              <div dir="ltr">
                <div dir="ltr">
                  <div><br>
                  </div>
                  <div>Pei JIA, Ph.D.</div>
                  <div><br>
                  </div>
                  <div>Email: <a href="mailto:jp4work@gmail.com"
                      target="_blank" moz-do-not-send="true"
                      class="moz-txt-link-freetext">jp4work@gmail.com</a></div>
                  <div>cell in Canada:    +1 778-863-5816</div>
                  <div>cell in China: +86 186-8244-3503</div>
                  <div><br>
                  </div>
                  Welcome to Vision Open<br>
                  <a href="http://www.visionopen.com" target="_blank"
                    moz-do-not-send="true" class="moz-txt-link-freetext">http://www.visionopen.com</a></div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <div><br>
        </div>
        -- <br>
        <div dir="ltr" class="gmail_signature">
          <div dir="ltr">
            <div><br>
            </div>
            <div>Pei JIA, Ph.D.</div>
            <div><br>
            </div>
            <div>Email: <a href="mailto:jp4work@gmail.com"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">jp4work@gmail.com</a></div>
            <div>cell in Canada:    +1 778-863-5816</div>
            <div>cell in China: +86 186-8244-3503</div>
            <div><br>
            </div>
            Welcome to Vision Open<br>
            <a href="http://www.visionopen.com" target="_blank"
              moz-do-not-send="true" class="moz-txt-link-freetext">http://www.visionopen.com</a></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>