LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   LibreOffice (https://www.linuxquestions.org/questions/slackware-arm-108/libreoffice-4175691426/)

Desiderius 03-02-2021 06:44 AM

LibreOffice
 
Hi all

I look for LibreOffice on the RPI.

I have tried to compile it on my RPI4 using Alien Bob Slackbuild :

http://www.slackware.com/~alien/slac...eoffice/build/

I have disabled JAVA and KDE5 and restrict the languages to "fr" and "en-US".

The compilation started right and after compiling a lot of C++ files and three hours of compilation, it crashes :

Code:

Mon Mar  1 16:45:06 2021 (00:00 min.)
: ######################################################
: Reading all directories: Start
: ######################################################
: Directory /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/InstallScriptTarget contains 1 files (including subdirs)
: Directory /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/CustomTarget/readlicense_oo/readme contains 3 files (including subdirs)
: /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/CustomTarget/sysui/{pkgtype} does not exist. (Can be removed from include path list?)
: Directory /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/CustomTarget/setup_native contains 3 files (including subdirs)
: Directory /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/PackageSet contains 94 files (including subdirs)
: Directory /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/GeneratedPackage contains 2 files (including subdirs)
: Directory /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/Package contains 678 files (including subdirs)
: /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/ExtensionPackage does not exist. (Can be removed from include path list?)
: Directory /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/CustomTarget/helpcontent2/help3xsl/filelists contains 17 files (including subdirs)
: /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/Extension does not exist. (Can be removed from include path list?)
: Directory /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/workdir/CustomTarget/readlicense_oo/license contains 2 files (including subdirs)
: Directory /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/setup_native/source/packinfo contains 23 files (including subdirs)
:
: Mon Mar  1 16:45:07 2021 (00:01 min.)
: ######################################################
: Reading all directories: End
: ######################################################
:
: Including inc file: /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/cli_ure/version/version.txt
: Setting of variable: CLI_URETYPES_NEW_VERSION = 1.0.9.0
: Setting of variable: CLI_URETYPES_OLD_VERSION = 1.0.0.0-1.0.8.0
: Setting of variable: CLI_URETYPES_POLICY_VERSION = 9.0.0.0
: Setting of variable: CLI_URETYPES_POLICY_ASSEMBLY = policy.1.0.cli_uretypes
: Setting of variable: CLI_BASETYPES_NEW_VERSION = 1.0.20.0
: Setting of variable: CLI_BASETYPES_OLD_VERSION = 1.0.0.0-1.0.19.0
: Setting of variable: CLI_BASETYPES_POLICY_VERSION = 20.0.0.0
: Setting of variable: CLI_BASETYPES_POLICY_ASSEMBLY = policy.1.0.cli_basetypes
: Setting of variable: CLI_URE_NEW_VERSION = 1.0.23.0
: Setting of variable: CLI_URE_OLD_VERSION = 1.0.0.0-1.0.22.0
: Setting of variable: CLI_URE_POLICY_VERSION = 23.0.0.0
: Setting of variable: CLI_URE_POLICY_ASSEMBLY = policy.1.0.cli_ure
: Setting of variable: CLI_CPPUHELPER_NEW_VERSION = 1.0.23.0
: Setting of variable: CLI_CPPUHELPER_OLD_VERSION = 1.0.0.0-1.0.22.0
: Setting of variable: CLI_CPPUHELPER_POLICY_VERSION = 23.0.0.0
: Setting of variable: CLI_CPPUHELPER_POLICY_ASSEMBLY = policy.1.0.cli_cppuhelper
: Including inc file: /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/unoil/climaker/version.txt
: Setting of variable: CLI_OOOTYPES_NEW_VERSION = 1.0.9.0
: Setting of variable: CLI_OOOTYPES_OLD_VERSION = 1.0.0.0-1.0.8.0
: Setting of variable: CLI_OOOTYPES_POLICY_VERSION = 9.0.0.0
: Setting of variable: CLI_OOOTYPES_POLICY_ASSEMBLY = policy.1.0.cli_oootypes
:
: *****************************************************************
: ERROR: ERROR: Script setup_osl.ins not found! at /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/solenv/bin/modules/installer/setupscript.pm line 76.
: *****************************************************************

Mon Mar  1 16:45:07 2021 (00:01 min.)
Failed to install: No such file or directory at /home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/solenv/bin/ooinstall line 91.
make: *** [Makefile:336: install] Error 2
Installing XML files because 'make distro-pack-install' fails to do so...
./libreoffice.SlackBuild: line 1466: /home/didier/ForLibreOffice/libreoffice/tmp/package-libreoffice/usr/lib/libreoffice/help/languages.js: No such file or directory
./libreoffice.SlackBuild FAILED at line 1466

I have tried to compile the same Slackbuild on my laptop ( x86 architecture ) and it crashed also with the same error .

What is wrong and have I forgotten ? Why is "/home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/solenv/bin/ooinstall" not found ?

Exaga 03-02-2021 10:18 AM

Quote:

Originally Posted by Desiderius (Post 6226447)
What is wrong and have I forgotten ? Why is "/home/didier/ForLibreOffice/libreoffice/tmp/tmp-libreoffice/libreoffice-7.0.4.2/solenv/bin/ooinstall" not found ?

https://www.linuxquestions.org/quest...ld-4175661192/

Perhaps answers and some assistance can be gained by following the above LQ thread. :)

Desiderius 03-31-2021 06:26 AM

Finally it works !!!

I have decided to start from the sources of Libreoffice and I have found this wiki where Slackware is mentionned :

https://wiki.documentfoundation.org/...inux#Slackware

autogen.sh is a shell script for configuring "configure" and get all the options.

I took the line for Slackware and add a few options ( to have my language, the help, and disables ccache which is a nigtmare if you compile only once and slows the compilation )

Code:

./autogen.sh --without-java --disable-postgresql-sdbc --disable-gstreamer-1.0 --disable-ccache --with-help --with-lang="xx"
and then ..... be patient ..... you need about 15 hours to compile LibreOffice on an RPI4 8 Go !

The good point is that you can stop make and restart it without any problem.

At last, LibreOffice works very well and is fluent on the RPI 4



Quote:

Originally Posted by Exaga (Post 6226508)
https://www.linuxquestions.org/quest...ld-4175661192/

Perhaps answers and some assistance can be gained by following the above LQ thread. :)



All times are GMT -5. The time now is 05:03 AM.