[Qgis-user] STEPS TO BUILD FROM SOURCE QGIS DESKTOP INCLUDING ORACLE LIBRARIES

Richard Duivenvoorde rdmailings at duif.net
Fri Sep 29 05:39:01 PDT 2023


Hi Juergen,

Ubercool! These lines even work on my current Debian Bookworm \o/

One question: the result is:
qgis-build-deps_3.32.3~sid~oracle1_all.deb

but where does it install after
sudo dpkg -i qgis-build-deps_3.32.3~sid~oracle1_all.deb
or
sudo gdebi qgis-build-deps_3.32.3~sid~oracle1_all.deb

I could not find it in /usr/bin. I can only find it in the
qgis-3.32.3~sid~oracle1/debian/build/output/bin/qgis
or
qgis-3.32.3~sid~oracle1/debian/qgis/usr/bin/qgis

should it not be installed on the user's disk?

PS: I think this deserves a place in the (linux specific) docs ( while it is working :-) )...

Regards,

Richard Duivenvoorde

On 9/29/23 08:04, Jürgen E. Fischer via QGIS-User wrote:
> Hi Fredy,
> 
> On Thu, 28. Sep 2023 at 14:32:26 +0000, Fredy Varon via QGIS-User wrote:
>> Anyone has the steps to build and compile qgis desktop on Linux Ubuntu to
>> permits Access to Oracle databases
> 
> sudo apt install devscripts alien
> curl -JLO https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-devel-21.11.0.0.0-1.el8.x86_64.rpm
> curl -JLO https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-basiclite-21.11.0.0.0-1.el8.x86_64.rpm
> fakeroot alien oracle-instantclient-devel-21.11.0.0.0-1.el8.x86_64.rpm oracle-instantclient-basiclite-21.11.0.0.0-1.el8.x86_64.rpm
> sudo dpkg -i oracle-instantclient-devel_21.11.0.0.0-2_amd64.deb oracle-instantclient-basiclite_21.11.0.0.0-2_amd64.deb
> 
> curl -JLO https://download.qgis.org/downloads/qgis-3.32.3.tar.bz2
> tar xjf qgis-3.32.3.tar.bz2
> cd qgis-3.32.3
> sed -i -e "s#18.5#21#" debian/rules
> sed -i -e "s#12.1##" debian/control.in
> dch -l ~sid~oracle --force-distribution --distribution sid-oracle "sid build with oracle"
> debian/rules templates
> sudo mk-build-deps -i
> dpkg-buildpackage -us -uc -b
> 
> 
> Jürgen
> 
> 
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the QGIS-User mailing list