LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 03-02-2021, 06:44 AM   #1
Desiderius
Member
 
Registered: Jun 2017
Posts: 88

Rep: Reputation: Disabled
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 ?
 
Old 03-02-2021, 10:18 AM   #2
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by Desiderius View Post
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.
 
Old 03-31-2021, 06:26 AM   #3
Desiderius
Member
 
Registered: Jun 2017
Posts: 88

Original Poster
Rep: Reputation: Disabled
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 View Post
https://www.linuxquestions.org/quest...ld-4175661192/

Perhaps answers and some assistance can be gained by following the above LQ thread.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: LibreOffice 4.4 Released as the Most Beautiful LibreOffice Ever LXer Syndicated Linux News 0 01-30-2015 01:10 AM
LXer: LibreOffice vs. OpenOffice: Why LibreOffice Wins LXer Syndicated Linux News 0 10-29-2014 10:50 AM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 02:37 PM
LXer: Build Your Business Around LibreOffice, LibreOffice Certification Program Announced LXer Syndicated Linux News 0 05-07-2012 12:10 PM
LXer: LibreOffice Tips: Inserting QurĂ¢??an text in LibreOffice Writer LXer Syndicated Linux News 0 04-16-2012 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration