Building LO from source
glogow at fbihome.de
Mon Jun 15 11:28:18 UTC 2020
Am 15.06.20 um 09:49 schrieb rene.engelhard at mailbox.org:
> Am 15. Juni 2020 07:35:58 MESZ schrieb Ismet Bahadir
> <ismetbahadir at gmail.com>:
>> Thanks for the reply. I deleted the Debian and CentOS virtual
>> machine, so I cannot re-check.
>> My current system is:
>> 1) test at test-virtual-machine:~/libreoffice$ cat /etc/os-release
>> NAME="Ubuntu" VERSION="18.04.4 LTS (Bionic Beaver)"
>> PRETTY_NAME="Ubuntu 18.04.4 LTS">> VERSION_ID="18.04"
> Obviously you want to install the kde 5 stuff.
> If You base on a old Ubuntu only shipping kde4 and thus not having
> the appropriate build-deps...
> apt build-dep is not magic it takes the distro source package as a
> base and install *their* build-dependencies which in your case
> apparently did not include kde5.
> (Or disable it.)
This is a different problem. Checking , I got for bionic:
Quoting from the BuildingOnLinux document: "Note that *these commands
might not install everything that is necessary*, because they use the
distro's package as a source of dependencies. That means they reflect
the version of LibreOffice that is packaged by the distro and the
options that are used for building it."
LO 6.0.7 has no kf5 support.
Nevertheless kf5 is in universe and LO master builds fine with these in
the Bionic 18.04 schroot, I use for development.
So you will want the LO PPA for LO fresh  for updated build-deps
for LO 6.4, or manually install these.
Still that resulting build probably won't work on Debian 10. Mine has a
conflicting libjpeg8 so name. I modified Ubuntu's libjpeg binary
packages for Debian. So I have a libjpeg-turbo8-compat and libjpeg8
package installed to work around package conflicts from the Debian
transition. Since only my manual LO build uses these, I don't see a
problem, but I won't use this setup in production and simply build on
Or use the tested CentOS 6 build setup to build some LO, which is mostly
Linux distro agnostic, as it bundles almost every used library itself.
This might have security implication, you don't want to accept.
FYI: LO itself still just requires a rather old Qt 5.6 to build, but you
would want some Qt 5.12 to get rid of some Qt bugs you can't work around
from withing the LO qt5 VCL plugin.
P.S. since you're "are creating a customized Linux operating system
based on Debian for one of our clients", you should consider hiring
someone with the missing knowledge from
this thread, you seem to be missing basic stuff about ABI compatibility,
build dependencies and compiling software on Linux.
More information about the LibreOffice