-
Notifications
You must be signed in to change notification settings - Fork 180
/
INSTALL
29 lines (23 loc) · 1.06 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
We strongly discourage to build both core and online as superuser.
Therefore, make sure you have a non-privileged user which can
run /sbin/setcap with sudo without password.
Make even sure that the user you're going to use owns the whole tree
(the simplest way is to directly clone with the user user for build).
To build LibreOffice Online you'll need to compile LibreOffice core first:
1. Clone core repository
git clone https://git.libreoffice.org/core
2. ./autogen.sh --with-distro=LibreOfficeOnline
3. make
When you have a working build of LOKit you can build LOOL.
1. Clone this repository
git clone https://git.libreoffice.org/online
2. ./autogen.sh
3. ./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-silent-rules \
--with-lokit-path=YOUR_INCLUDE_PATH_TO_CORE_BUILD \
--with-lo-path=/opt/libreoffice
4. make
If you're interested in building a docker image, refer to the
`docker` directory and to https://wiki.documentfoundation.org/Development/BuildingOnline