<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>What guide exactly? What is its URL? What section are you reading
      exactly?
<a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/blob/master/INSTALL.md#3-building-on-gnulinux">https://github.com/qgis/QGIS/blob/master/INSTALL.md#3-building-on-gnulinux</a>
      ? Did you follow each step exactly and did you do nothing else in
      between?</p>
    <p>> Did I do anythng wrongly ?</p>
    <p>Yes, you followed the instructions of a dumb machine that makes
      up things without any logic or reasoning.<br>
    </p>
    <p></p>
    <p>If you are following instructions by an algorithm that
      hallucinates false facts (like ChatGPT), then please state so
      before asking humans to clean up the mess...<br>
    </p>
    <p>Sorry for the angry and negative tone but it is a *colossal waste
      of time* if one assumes to help a human but it is really a human
      who follows commonly false and misguided instructions by a dumb
      machine.<br>
    </p>
    <div class="moz-cite-prefix">On 29.11.23 12:47, Raivo Rebane wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:a172e5f9-eda7-4800-8c0f-fc3650b40d35@r-systems.ee">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hi,'</p>
      <p>I use ubuntu 20.04 and guide from QGIS package and from ChatGPT</p>
      <p>Did I do anythng wrongly ?<br>
      </p>
      <p>Raivo<br>
      </p>
      <div class="moz-cite-prefix">On 29.11.23 13:39, Johannes Kröger
        (WhereGroup) wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:8a0ea9f3-102d-41fa-8a3b-90c01569f7e3@wheregroup.com">
        <meta http-equiv="Content-Type"
          content="text/html; charset=UTF-8">
        <p>What guide are you following and what OS (+version) are you
          using?<br>
        </p>
        <div class="moz-cite-prefix">On 29.11.23 12:24, Raivo Rebane via
          QGIS-User wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:1b284036-e1e8-4309-8d2e-71b6b6b56e6b@r-systems.ee">
          <meta http-equiv="Content-Type"
            content="text/html; charset=UTF-8">
          <p>I have installed following :</p>
          <p> 2064  sudo apt-get install libspatialite-dev<br>
             2087  sudo apt install libqt5serialport5-dev<br>
          </p>
          <p>but same error ocured<br>
          </p>
          <div class="moz-cite-prefix">Regards,</div>
          <div class="moz-cite-prefix">Raivo</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">On 29.11.23 13:14, Werner Macho
            wrote:<br>
          </div>
          <blockquote type="cite"
cite="mid:CA+3oMjv08999O02BuupM4RweEGG0WqzOEYSWB_XpqdF8sATDaA@mail.gmail.com">
            <meta http-equiv="content-type"
              content="text/html; charset=UTF-8">
            <div dir="ltr">And regarding spatialite .. 
              <div>take a look if the -dev package of spatialite is
                installed .. </div>
              <div>If you want to compile yourself you always need the
                -dev packages</div>
              <div>regards</div>
              <div>Werner</div>
            </div>
            <br>
            <div class="gmail_quote">
              <div dir="ltr" class="gmail_attr">On Wed, Nov 29, 2023 at
                12:10 PM Werner Macho <<a
                  href="mailto:werner.macho@gmail.com"
                  moz-do-not-send="true" class="moz-txt-link-freetext">werner.macho@gmail.com</a>>
                wrote:<br>
              </div>
              <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                <div dir="ltr">Hi!
                  <div>According to the error message you provided you
                    are missing:</div>
                  <div>Could not find a package configuration file
                    provided by "Qt5SerialPort"<br>
                       with any of the following names:<br>
                  </div>
                  <div><br>
                  </div>
                  <div>Try to install the package
                    "libqt5serialport5-dev" (depending on which
                    distribution you are - I can only see it is a linux
                    system)</div>
                  <div><br>
                  </div>
                  <div>regards</div>
                  <div>Werner</div>
                </div>
                <br>
                <div class="gmail_quote">
                  <div dir="ltr" class="gmail_attr">On Wed, Nov 29, 2023
                    at 12:05 PM Raivo Rebane via QGIS-User <<a
                      href="mailto:qgis-user@lists.osgeo.org"
                      target="_blank" moz-do-not-send="true"
                      class="moz-txt-link-freetext">qgis-user@lists.osgeo.org</a>>
                    wrote:<br>
                  </div>
                  <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
                    <br>
                    I want to install QGIS package from source, but got
                    foolowing errors :<br>
                    <br>
                    CMake Error at cmake/FindSpatiaLite.cmake:20
                    (add_library):<br>
                       add_library cannot create ALIAS target
                    "spatialite::spatialite" because<br>
                       target "PkgConfig::PC_SPATIALITE" is imported but
                    not globally visible.<br>
                    Call Stack (most recent call first):<br>
                       CMakeLists.txt:405 (find_package)<br>
                    <br>
                    <br>
                    -- Qt WebKit support enabled<br>
                    -- Using embedded laz-perf<br>
                    -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so<br>
                    -- Found PDAL: pdal_base;pdal_util (2.2.0)<br>
                    -- Found Draco: /usr/local/lib/libdraco.a (1.5.6)<br>
                    CMake Error at
                    /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28
                    <br>
                    (find_package):<br>
                       Could not find a package configuration file
                    provided by "Qt5SerialPort"<br>
                       with any of the following names:<br>
                    <br>
                         Qt5SerialPortConfig.cmake<br>
                         qt5serialport-config.cmake<br>
                    <br>
                       Add the installation prefix of "Qt5SerialPort" to
                    CMAKE_PREFIX_PATH <br>
                    or set<br>
                       "Qt5SerialPort_DIR" to a directory containing one
                    of the above files.  If<br>
                       "Qt5SerialPort" provides a separate development
                    package or SDK, be <br>
                    sure it<br>
                       has been installed.<br>
                    <br>
                    I tried different way of cmake :<br>
                    <br>
                    raivo@Hydra:~/QGIS/build-master$ cmake <br>
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so <br>
                    -DSPATIALITE_INCLUDE_DIR=/usr/include/ ..<br>
                    and<br>
                    <br>
                    raivo@Hydra:~/QGIS/build-master$ cmake <br>
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so <br>
                    -DSPATIALITE_INCLUDE_DIR=/usr/include/ <br>
-DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc ..<br>
                    <br>
                    but in any cases got previous errors.<br>
                    <br>
                    What is wrong ?<br>
                    <br>
                    Regards,<br>
                    <br>
                    Raivo<br>
                    <br>
                    <br>
                    _______________________________________________<br>
                    QGIS-User mailing list<br>
                    <a href="mailto:QGIS-User@lists.osgeo.org"
                      target="_blank" moz-do-not-send="true"
                      class="moz-txt-link-freetext">QGIS-User@lists.osgeo.org</a><br>
                    List info: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true"
                      class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
                    Unsubscribe: <a
href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                      rel="noreferrer" target="_blank"
                      moz-do-not-send="true"
                      class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
                  </blockquote>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <br>
          <fieldset class="moz-mime-attachment-header"></fieldset>
          <pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-User mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext"
          href="mailto:QGIS-User@lists.osgeo.org" moz-do-not-send="true">QGIS-User@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext"
          href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
          moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext"
          href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
          moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
        </blockquote>
        <br>
      </blockquote>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Johannes Kröger / GIS-Entwickler/-Berater

---------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der <a class="moz-txt-link-abbreviated" href="http://www.foss-academy.com">www.foss-academy.com</a>
---------------------------------------------

WhereGroup GmbH
c/o KK03 GmbH
Lange Reihe 29
20099 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

<a class="moz-txt-link-abbreviated" href="mailto:johannes.kroeger@wheregroup.com">johannes.kroeger@wheregroup.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm 
Amtsgericht Bonn, HRB 9885
-------------------------------
</pre>
  </body>
</html>