<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>My counsel is build to one of the supported platforms (Debian or
      [a]Ubuntu), not derivatives. This can be done easily in a virtual
      machine. <br>
    </p>
    There are some xenial-specific issues in general which are not there
    if using a later release. <br>
    <br>
    None of these comments may be relevant to your particular situation.
    What is most relevant is that only a small number of distros are
    supported and Debian/Ubuntu are the most supported. <br>
    <br>
    On 19/09/17 22:17, Greg Stef wrote:<br>
    <blockquote type="cite"
cite="mid:CAOYw-bgGUAviz+YQYXTP_8e-DTW_JzMj8MQv0KusPFMCwW7yAg@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>Hello everyone.<br>
            <br>
          </div>
          This is my 1st post and I am not sure if it should be short or
          more detailed. I have posted a question to Stackexchange (<a
href="https://gis.stackexchange.com/questions/255565/building-qgis-2-18-12-on-linux-mint-18-2-sonya-with-oracle-provider"
            moz-do-not-send="true">https://gis.stackexchange.com/questions/255565/building-qgis-2-18-12-on-linux-mint-18-2-sonya-with-oracle-provider</a>),
          with no answers so far, so I'll provide the most essential
          details here, unless told otherwise.</div>
        <div><br>
        </div>
        <div>I was trying to build QGIS on Linux Mint 18.2 (Sonya), in
          order to have the Oracle provider - my setup is at the end of
          this message. <br>
        </div>
        <div><br>
        </div>
        <div>I tried to follow the instructions in <a
href="https://htmlpreview.github.io/?https://raw.github.com/qgis/QGIS/master/doc/INSTALL.html#toc11"
            rel="nofollow noreferrer" moz-do-not-send="true">https://htmlpreview.github.io/?https://raw.github.com/qgis/QGIS/master/doc/INSTALL.html#toc11</a>
          , specifically 3.1 - 3.7 (3.8 seems to be a separate process,
          which I also tried and failed) - in 3.3 I used the build
          dependencies for xenial.</div>
        <div><br>
        </div>
        <div>Since this official guide doesn't mention Oracle at all (as
          if nobody uses it!),  I searched and tried to use a process
          like <a
href="https://lists.osgeo.org/pipermail/qgis-developer/2014-August/034230.html"
            rel="nofollow noreferrer" moz-do-not-send="true">https://lists.osgeo.org/pipermail/qgis-developer/2014-August/034230.html</a>.
          My command was:<br>
        </div>
        <div>
          <pre><span style="font-family:monospace,monospace"><code>ccmake -DWITH_QWTPOLAR=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/home/ME/apps/qgis/master -DWITH_ORACLE=TRUE -DOCI_INCLUDE_DIR=/home/ME/instantclient_12_2/sdk/include -DOCI_LIBRARY=/home/ME/instantclient_12_2/libclntsh.so.12.1 ..
</code></span></pre>
        </div>
        <div>
          <pre><span style="font-family:monospace,monospace"><code>make -j</code>8 </span> 
<span style="font-family:arial,helvetica,sans-serif">
It failed (my 1st attempt in compiling, too).</span></pre>
        </div>
        <div>Before going around asking questions, I thought it prudent
          to assure the basics, so I tried to build the 'vanilla way',
          i.e. from the source as I download it, without Oracle, without
          any changes in the process. I made LD_LIBRARY_PATH null and
          issued: <br>
          <div>
            <pre><code>ccmake -DWITH_QWTPOLAR=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/home/ME/apps/qgis/master ..</code></pre>
          </div>
        </div>
        <div>
          <pre><code>make -j</code>8</pre>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>