WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can we have LibreOffice?  (Read 3894 times)

Offline JustinCB

  • Newbie
  • *
  • Posts: 28
Can we have LibreOffice?
« on: February 24, 2020, 07:30:56 AM »
It looks like libreoffice is not available on tinycore 11.x.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11287
Re: Can we have LibreOffice?
« Reply #1 on: February 24, 2020, 07:54:15 AM »
Hi JustinCB
The current version of  libreoffice  in TC10 was copied over from TC8. Try downloading:
http://tinycorelinux.net/10.x/x86/tcz/libreoffice.tcz
http://tinycorelinux.net/10.x/x86/tcz/libreoffice.tcz.dep
http://tinycorelinux.net/10.x/x86/tcz/libreoffice.tcz.md5.txt
into your  tce/optional  directory.

Using the  Apps  utility click  Apps->Maintenance->Dependencies and Deletions
Then click  Dependencies->Fetch Missing Dependencies
Click  Dependencies->Exit Dependency Check
Click Apps->Load App Locally
Scroll down to  libreoffice.tcz  and click on it.
Click the  Load  button and see what happens.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: Can we have LibreOffice?
« Reply #2 on: February 24, 2020, 09:21:39 PM »
libreoffice was not copied over because it depends on old versions of icu, openssl and poppler (and perhaps others).

It seems newer versions of libreoffice will not compile 32-bit - I'll look at re-compiling an older version at some point.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1023
Re: Can we have LibreOffice?
« Reply #3 on: February 25, 2020, 03:47:12 AM »
I've found some extensions like dhcp and mariadb require a minimum -march=i686 or they won't compile. Could this be the issue?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: Can we have LibreOffice?
« Reply #4 on: February 25, 2020, 03:49:53 AM »
It might be, but I suspect libreoffice has given up testing on 32-bit.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11287
Re: Can we have LibreOffice?
« Reply #5 on: February 25, 2020, 07:40:09 AM »
Hi Juanito
libreoffice was not copied over because it depends on old versions of icu, openssl and poppler (and perhaps others). ...
I had checked the libreoffice  .dep  file and  openssl  was not listed as a dependency. The  .tree  file showed other dependencies
depended on  openssl.

Does  libreoffice  have a direct dependency on  openssl  even though it's not listed?
« Last Edit: February 25, 2020, 07:42:29 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: Can we have LibreOffice?
« Reply #6 on: February 25, 2020, 11:11:08 PM »
This will show a dep on openssl:
Code: [Select]
$ ldd /usr/local/lib/libreoffice/program/*.so*
I managed to get libreoffice to compile, but so far it will not start:
Code: [Select]
$ libreoffice
...
The application cannot be started.
component context fails to supply service
com.sun.star.uiModuleUIConfigurationManager of type
com.sun.star.uiXModuleUIConfigurationManager2: an error occurred during file opening

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: Can we have LibreOffice?
« Reply #7 on: February 26, 2020, 09:35:47 PM »
I managed to compile the latest version (6.4.0.3) for both i486 and i686, but it still refuses to start with the same error  :(

Offline nick65go

  • Hero Member
  • *****
  • Posts: 805
Re: Can we have LibreOffice?
« Reply #8 on: February 27, 2020, 07:43:31 AM »
(without putting salt on the wound) maybe the compile swithces from here will help?
Code: [Select]
https://pkgs.alpinelinux.org/packages?name=libreoffice*&branch=edge&arch=x86

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: Can we have LibreOffice?
« Reply #9 on: February 27, 2020, 08:10:04 AM »
There definitely seems to be something about later versions of libreoffice and 32-bit.

I just compiled the latest version on CorePure64 with the same ./configure switches as 32-bit (except -march and -mtune) and it works.

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1378
Re: Can we have LibreOffice?
« Reply #10 on: February 27, 2020, 08:25:25 AM »
As a (temporary?) alternative for 32-bit TCL users, consider  gnumeric  (for spreadsheets) and  abiword  (for word processing).

Even though I run Pure64 on my personal machine, I've been using  gnumeric  for a while (to avoid all the dependencies of libreoffice) and have found it to be a drop-in replacement for libreoffice-calc. My wife and I share some spreadsheets (.ods files) and we have no problem with the same file going back and forth between her libreoffice-calc and my gnumeric.
« Last Edit: February 27, 2020, 08:41:06 AM by GNUser »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11287
Re: Can we have LibreOffice?
« Reply #11 on: February 27, 2020, 10:19:38 AM »
Hi Juanito
Code: [Select]
$ libreoffice
...
The application cannot be started.
component context fails to supply service
com.sun.star.uiModuleUIConfigurationManager of type
com.sun.star.uiXModuleUIConfigurationManager2: an error occurred during file opening

I'm not seeing a lot of answers on the Internet. This Tinycore user tried building LibreOffice last April with the same result:
https://lists.freedesktop.org/archives/libreoffice/2019-April/082478.html

This fellow claimed reinstalling  clucene  fixed it for him:
https://bbs.archlinux.org/viewtopic.php?id=197926
Maybe something is looking for  clucene  in  /usr/lib ?


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: Can we have LibreOffice?
« Reply #12 on: February 27, 2020, 10:26:20 PM »
I've now tried with i486, i686 and haswell - no errors during the 4h compile, but all fail with:
Code: [Select]
$ libreoffice
LibreOffice 6.4 - Fatal Error: The application cannot be started.
component context fails to supply service com.sun.star.ui.ModuleUIConfigurationManager of type com.sun.star.ui.XModuleUIConfigurationManager2: an error occurred during file opening

enough - I'll look at repackaging the x86 tc-10.x libreoffice.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14624
Re: Can we have LibreOffice?
« Reply #13 on: February 27, 2020, 11:09:39 PM »
repackaged libreoffice posted