<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">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">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">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 ..<br></code></span></pre></div><div><pre><span style="font-family:monospace,monospace"><code>make -j</code>8 </span> <br><span style="font-family:arial,helvetica,sans-serif"><br>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>After about 15',  I got:</div><div>...<br></div><div>    [ 99%] Building CXX object src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qtermwidget/moc_kptyprocess.cpp.o<br>    [ 99%] Building CXX object src/plugins/grass/7/CMakeFiles/grassplugin7.dir/__/qtermwidget/moc_qtermwidget.cpp.o<br>    [ 99%] Building CXX object src/plugins/grass/7/CMakeFiles/grassplugin7.dir/qrc_qgsgrass_plugin.cpp.o<br>    Scanning dependencies of target translations<br>    [ 99%] Generating ../output/i18n/qgis_ar.qm<br>    [ 99%] Generating ../output/i18n/qgis_bg.qm<br>    [ 99%] Generating ../output/i18n/qgis_bs.qm<br>    [ 99%] Generating ../output/i18n/qgis_ca.qm<br>    [ 99%] Generating ../output/i18n/qgis_cs.qm<br>    [ 99%] Generating ../output/i18n/qgis_da.qm<br>    [ 99%] Generating ../output/i18n/qgis_de.qm<br>    [ 99%] Linking CXX shared module ../../../../output/lib/qgis/plugins/libgrassplugin7.so<br>    [ 99%] Built target grassplugin7<br>    [ 99%] Generating ../output/i18n/qgis_el.qm<br></div><div><br></div><div>where it remained frozen, with 100% cpu, for > 20h.</div><div><br></div><div>Next day, whet I interrupted the process, I got</div><div><br></div><div>i18n/CMakeFiles/translations.dir/build.make:97: recipe for target 'output/i18n/qgis_ar.qm' failed<br>make[2]: *** [output/i18n/qgis_ar.qm] Interrupt<br>i18n/CMakeFiles/translations.dir/build.make:105: recipe for target 'output/i18n/qgis_bs.qm' failed<br>make[2]: *** [output/i18n/qgis_bs.qm] Interrupt<br>i18n/CMakeFiles/translations.dir/build.make:109: recipe for target 'output/i18n/qgis_ca.qm' failed<br>make[2]: *** [output/i18n/qgis_ca.qm] Interrupt<br>i18n/CMakeFiles/translations.dir/build.make:117: recipe for target 'output/i18n/qgis_da.qm' failed<br>make[2]: *** [output/i18n/qgis_da.qm] Interrupt<br>i18n/CMakeFiles/translations.dir/build.make:121: recipe for target 'output/i18n/qgis_de.qm' failed<br>make[2]: *** [output/i18n/qgis_de.qm] Interrupt<br>i18n/CMakeFiles/translations.dir/build.make:125: recipe for target 'output/i18n/qgis_el.qm' failed<br>make[2]: *** [output/i18n/qgis_el.qm] Interrupt<br>i18n/CMakeFiles/translations.dir/build.make:113: recipe for target 'output/i18n/qgis_cs.qm' failed<br>make[2]: *** [output/i18n/qgis_cs.qm] Interrupt<br>i18n/CMakeFiles/translations.dir/build.make:101: recipe for target 'output/i18n/qgis_bg.qm' failed<br>make[2]: *** [output/i18n/qgis_bg.qm] Interrupt<br>CMakeFiles/Makefile2:4155: recipe for target 'i18n/CMakeFiles/translations.dir/all' failed<br>make[1]: *** [i18n/CMakeFiles/translations.dir/all] Interrupt<br>Makefile:160: recipe for target 'all' failed<br>make: *** [all] Interrupt<br></div><div><br></div><div><br></div><div>I find it *very* frustrating (to put it mildly) that a gis user who chose Linux as his OS,  must go through all these hoops to get Oracle support - or switch to Windoze.</div><div><br></div><div>My last hope is to all you out there.</div><div><br></div><div>Thanks in advance</div><div>Greg<br></div><div><br></div><div><br></div>My setup:<br><pre><code>uname -a  
Linux GIS81 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux 

lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 18.2 Sonya
Release: 18.2
Codename: sonya</code></pre><div><div><div><div><pre><code>echo $LD_LIBRARY_PATH  
/home/<ME>/instantclient_12_2:/home/<ME>/instantclient_12_2/libclntsh.so.12.1:  
echo $PATH  
/home/<ME>/instantclient_12_2:/home/<ME>/bin:/home/<ME>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
</code></pre><pre><code>locale  
LANG=en_GB.UTF-8
LANGUAGE=en_GB
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC=el_GR.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY=el_GR.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=el_GR.UTF-8
LC_NAME=el_GR.UTF-8
LC_ADDRESS=el_GR.UTF-8
LC_TELEPHONE=el_GR.UTF-8
LC_MEASUREMENT=el_GR.UTF-8
LC_IDENTIFICATION=el_GR.UTF-8
LC_ALL=   </code></pre></div></div></div></div></div>