<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Idan,</p>
    <p>what's important in the end is what's in the CMakeLists.txt in
      your build folder, I'd suggest to have a look at the content of
      this file first (and possibly re-run cmake or ccmake with
      different parameters until you get the desired
      CMAKE_INSTALL_PREFIX).</p>
    > Suppose I run make install, should I still be able to run QGIS
    from the repos without any issues?<br>
    <br>
    As long as it's installed to a different prefix: totally<br>
    <br>
    Cheers<br>
    Matthias<br>
    <br>
    <div class="moz-cite-prefix">On 03/25/2018 02:22 PM, Idan Miara
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEDrt39STwBgEuWO5Yxxdbn2-ivF_L+eymyHfVX83Keam583RQ@mail.gmail.com">
      <div dir="ltr">
        <div>$ env | grep HOME=<br>
          HOME=/home/idan<br>
          <br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 25 March 2018 at 14:17, Patrick
          Dunford <span dir="ltr"><<a
              href="mailto:enzedrailmaps@gmail.com" target="_blank"
              moz-do-not-send="true">enzedrailmaps@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> What is the value of
              ${HOME} for the current user<br>
              <br>
              Type env in a terminal then read out HOME
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="m_8721994289600899368moz-cite-prefix">On
                    25/03/18 23:55, Idan Miara wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>Thanks for your reply!<br>
                      </div>
                      I followed the instructions as is, including
                      setting:<br>
                      CMAKE_INSTALL_PREFIX to ${HOME}/apps as advised.<br>
                      So why does it try (and fail) to set the file
                      /apps//apps/man/man1/qgis.1 ?<br>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On 25 March 2018 at
                        12:26, Patrick Dunford <span dir="ltr"><<a
                            href="mailto:enzedrailmaps@gmail.com"
                            target="_blank" moz-do-not-send="true">enzedrailmaps@gmail.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div text="#000000" bgcolor="#FFFFFF">
                            <p>The build instructions advise to put an
                              apps dir in your home path e.g.</p>
                            <p>~/apps</p>
                            <p>If you choose to put apps in the root
                              path i.e. /apps you must make sure you
                              have given yourself permissions to that
                              path.<br>
                            </p>
                            <div>
                              <div class="m_8721994289600899368h5"> <br>
                                <div
                                  class="m_8721994289600899368m_1192260631692600557moz-cite-prefix">On
                                  25/03/18 21:56, Idan Miara wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div class="m_8721994289600899368h5">
                                  <div dir="ltr">
                                    <div>
                                      <div>
                                        <div>
                                          <div>Hi,<br>
                                            <br>
                                          </div>
                                          I've been following the
                                          building guide on Ubuntu 17.10
                                          and came across the following
                                          issue while running "make
                                          install" without root, then I
                                          get the error message:<br>
                                        </div>
                                      </div>
                                      <br>
                                      CMake Error at
                                      cmake_install.cmake:36 (file):<br>
                                        file INSTALL cannot set
                                      permissions on
                                      "/apps//apps/man/man1/qgis.1"<br>
                                      <br>
                                    </div>
                                    <div>If I run it with sudo it
                                      installs fine<br>
                                    </div>
                                    <div>should it work without root?<br>
                                    </div>
                                    <div><br>
                                      I suppose you intended it to work
                                      without root, because I needed to
                                      the following commands without
                                      $HOME or ${HOME} after running
                                      "sudo make install" in order to
                                      run QGIS:<br>
                                      <br>
                                      <div
                                        class="m_8721994289600899368m_1192260631692600557gmail-d-flex
m_8721994289600899368m_1192260631692600557gmail-flex-justify-start
                                        m_8721994289600899368m_1192260631692600557gmail-flex-items-start">
                                        <div
                                          class="m_8721994289600899368m_1192260631692600557gmail-blob-code
m_8721994289600899368m_1192260631692600557gmail-blob-code-inner
                                          m_8721994289600899368m_1192260631692600557gmail-js-file-line"
id="m_8721994289600899368m_1192260631692600557gmail-LC297"> </div>
                                      </div>
                                      <div
                                        class="m_8721994289600899368m_1192260631692600557gmail-d-flex
m_8721994289600899368m_1192260631692600557gmail-flex-justify-start
                                        m_8721994289600899368m_1192260631692600557gmail-flex-items-start">
                                      </div>
                                      export
                                      LD_LIBRARY_PATH=$LD_LIBRARY_PA<wbr>TH:${HOME}/apps/lib/<br>
                                      $HOME/apps/bin/qgis<br>
                                      <br>
                                    </div>
                                    <div>Suppose I run make install,
                                      should I still be able to run QGIS
                                      from the repos without any issues?<br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>Kind Regards,<br>
                                    </div>
                                    <div>Idan<br>
                                    </div>
                                  </div>
                                  <br>
                                  <fieldset
                                    class="m_8721994289600899368m_1192260631692600557mimeAttachmentHeader"></fieldset>
                                  <br>
                                </div>
                              </div>
                              <pre>______________________________<wbr>_________________
QGIS-Developer mailing list
<a class="m_8721994289600899368m_1192260631692600557moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="m_8721994289600899368m_1192260631692600557moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a>
Unsubscribe: <a class="m_8721994289600899368m_1192260631692600557moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a></pre>
                            </blockquote>
                            <br>
                          </div>
                          <br>
                          ______________________________<wbr>_________________<br>
                          QGIS-Developer mailing list<br>
                          <a
                            href="mailto:QGIS-Developer@lists.osgeo.org"
                            target="_blank" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br>
                          List info: <a
                            href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a><br>
                          Unsubscribe: <a
                            href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
                            rel="noreferrer" target="_blank"
                            moz-do-not-send="true">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            QGIS-Developer mailing list<br>
            <a href="mailto:QGIS-Developer@lists.osgeo.org"
              moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br>
            List info: <a
              href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
            Unsubscribe: <a
              href="https://lists.osgeo.org/mailman/listinfo/qgis-developer"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div class="moz-signature">
        <title></title>
        <div class="moz-signature"> <span style="text-align: left;
            color: #000000; font-family: 'Verdana', sans-serif;
            font-size: 10pt">Matthias Kuhn</span><br>
          <a href="mailto:matthias@opengis.ch" target="_blank"> <span
              style="text-align: left; color: #000000; font-family:
              'Verdana', sans-serif; font-size: 8pt">matthias@opengis.ch</span>
          </a><br>
          <span style="text-align: left; color: #000000; font-family:
            'Verdana', sans-serif; font-size: 8pt">+41 (0)76 435 67 63</span><br>
          <div> <a href="https://www.opengis.ch"> <img
                moz-do-not-send="false"
                src="cid:part13.28B1D03C.FEE76433@opengis.ch"
                alt="OPENGIS.ch Logo" height="80" width="200"></a> </div>
        </div>
      </div>
    </div>
  </body>
</html>