husisusi / officeonlin-install.sh

Script to install Office Online on Ubuntu 22.04 & Debian 11
139 stars 52 forks source link

Build Error on Debian 10 #202

Closed Alternativend closed 3 years ago

Alternativend commented 4 years ago

Hello guys, im trying to use this script now for a few days now without any luck so far.

I have a VM here with 24 cores and 12GB of RAM and a barely naked Debian on it. Right in "front" of it i have a NGINX-Reverse-Proxy serving our Nextcloud and some other things. I wanna offer Collabora Online now for my colleagues. Everything is configured to use LetsEncrypt and Collabora has its own subdomain.

But back to the building process. Im trying to rebuild everything with this configuration file (Only the uncommented values visible).

officeonline-install.cfg

allowed_domains="nextcloud.mydomain.de"

poco_forcebuild=true

lool_configure_opts='--disable-werror' 
lool_forcebuild=true

Now after a while of compiling im getting this error and i really don´t know if i can do anything about it. Maybe someone around here can help.

g++: fatal error: Getötet signal terminated program cc1plus
compilation terminated.
make[1]: *** [/opt/libreoffice/solenv/gbuild/LinkTarget.mk:293: /opt/libreoffice/workdir/CxxObject/sc/source/ui/view/tabview4.o] Fehler 1
make[1]: *** Datei „/opt/libreoffice/workdir/CxxObject/sc/source/ui/view/tabview4.o“ wird gelöscht
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
g++: fatal error: Getötet signal terminated program cc1plus
compilation terminated.
make[1]: *** [/opt/libreoffice/solenv/gbuild/LinkTarget.mk:293: /opt/libreoffice/workdir/CxxObject/sc/source/ui/view/tabview.o] Fehler 1
make[1]: *** Datei „/opt/libreoffice/workdir/CxxObject/sc/source/ui/view/tabview.o“ wird gelöscht
g++: fatal error: Getötet signal terminated program cc1plus
compilation terminated.
make[1]: *** [/opt/libreoffice/solenv/gbuild/LinkTarget.mk:293: /opt/libreoffice/workdir/CxxObject/sc/source/ui/view/tabvwsh4.o] Fehler 1
make[1]: *** Datei „/opt/libreoffice/workdir/CxxObject/sc/source/ui/view/tabvwsh4.o“ wird gelöscht
make: *** [Makefile:286: build] Fehler 2

Thanks a lot!

quenenni commented 4 years ago

Hello,

Didi you check these 2 posts: #188 #190 For the #190, maybe the script was already adapted with the fix, not sure.

Alternativend commented 4 years ago

Hi, thanks for the hint. I tried it with the following config and get this errors:


allowed_domains="mycloud.mydomain.de"

set_online_regex='distro/collabora/code-4.2' 

lo_src_tag='cp-6.2-5' 

lo_dir="/opt/libreoffice"
lo_forcebuild=true 
lo_non_free_ttf=true 
poco_version=1.9.4 
poco_forcebuild=true
lool_src_tag='CODE-4.2.1-2' # a tag in the repo git
lool_dir="/opt/lool" #"/opt/online"
lool_configure_opts='--disable-werror --with-lokit-path=/opt/libreoffice/include' 

lool_forcebuild=true
g++: fatal error: Getötet signal terminated program cc1plus
compilation terminated.
make[1]: *** [/opt/libreoffice/solenv/gbuild/LinkTarget.mk:293: /opt/libreoffice/workdir/CxxObject/sc/source/ui/docshell/docfunc.o] Fehler 1
make[1]: *** Datei „/opt/libreoffice/workdir/CxxObject/sc/source/ui/docshell/docfunc.o“ wird gelöscht
g++: fatal error: Getötet signal terminated program cc1plus
compilation terminated.
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
make[1]: *** [/opt/libreoffice/solenv/gbuild/LinkTarget.mk:293: /opt/libreoffice/workdir/CxxObject/sc/source/ui/docshell/docsh.o] Fehler 1
make[1]: *** Datei „/opt/libreoffice/workdir/CxxObject/sc/source/ui/docshell/docsh.o“ wird gelöscht
{standard input}: Assembler messages:
{standard input}:20254: Warning: end of file not at end of a line; newline inserted
g++: fatal error: Getötet signal terminated program cc1plus
compilation terminated.
make[1]: *** [/opt/libreoffice/solenv/gbuild/LinkTarget.mk:293: /opt/libreoffice/workdir/CxxObject/sc/source/ui/docshell/docsh4.o] Fehler 1
make[1]: *** Datei „/opt/libreoffice/workdir/CxxObject/sc/source/ui/docshell/docsh4.o“ wird gelöscht
husisusi commented 3 years ago

Please try the last version.