SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've successfully compiled LO 7.0 with jdk11 and LibreOffice using SlackBuilds from ponce. Had to tweak them slightly. Dumped JDK8.
I use VirtualBox, 4 Processors and 8G of memory using an I7-4770K. I always like to have at least 40G+ of free disk space before I start compiling LO. I don't compile in the default /tmp, don't want to fill up the root partition.
Compiles in 2hrs 10mins I'm using with-parallelism=6
I've successfully compiled LO 7.0 with jdk11 and LibreOffice using SlackBuilds from ponce. Had to tweak them slightly. Dumped JDK8.
I use VirtualBox, 4 Processors and 8G of memory using an I7-4770K. I always like to have at least 40G+ of free disk space before I start compiling LO. I don't compile in the default /tmp, don't want to fill up the root partition.
Compiles in 2hrs 10mins I'm using with-parallelism=6
Compiled package size is 352MB.
Thanks, I'd be trying to compile it with OpenJDK8. Do you know if it's possible to compile it using my home partition and install it into my root partition? I'd also be using Ponce's SlackBuild, any advice based on how you tweaked it?
Thanks, I'd be trying to compile it with OpenJDK8. Do you know if it's possible to compile it using my home partition and install it into my root partition? I'd also be using Ponce's SlackBuild, any advice based on how you tweaked it?
AlienBob gave the reason for not including java support in LO7 as
Quote:
I do not have OpenJDK 9 or higher in my repositories and I will not, until IcedTea adds support for these versions. Until then, I stick with Java 8 and that means I had to disable Java support in the libreoffice packages that I compile from source.
I don't use openjdk, don' know why, so I could ignore AlienBob's reasoning.
I use Oracle jdk.
In hacking other people's SlackBuilds I just muddle through. So treat the following very carefully.
Each SlackBuild is written to allow the caller to override "hard coded" parameters. For instance in the LibreOffice.SlackBuild you're see the line
Code:
TMP=${TMP:-/tmp/SBo}
Before calling the LibreOffice.SlackBuild I do this
Code:
export TMP=/home/packages/tmp/SBo
Not sure if it's necessary but I have /home/packages/tmp/SBo owned by root.
This patch file, for LibreOffice.SlackBuild might help
Before running these SlackBuilds I remove the jdk8 package and any LO packages from my test system and reboot the machine.
I'm only using LO7 to see whether mailmerge, Base and macros still work and then only in a test system. In my production systems I still have Slackware 14.2 and LO 6.2.8.2. Don't intend to shift away from these anytime soon.
I'm only using LO7 to see whether mailmerge, Base and macros still work and then only in a test system. In my production systems I still have Slackware 14.2 and LO 6.2.8.2. Don't intend to shift away from these anytime soon.
Thank you kindly for the explanation! Though I think I'll probably just try building the slackbuild without java support if OpenJDK isn't supported. And I'll have to make sure I'm installing an old enough version of LO that still runs on 32-bit systems. From the looks of it, both version of LibreOffice on Slackbuilds.org are for 64-bit systems. I've edited the version number of a slackbuild to use a more updated source before, but would the same thing work for editing the slackbuild to use an older source which is 32-bit when the build expects 64-bit?
Thank you kindly for the explanation! Though I think I'll probably just try building the slackbuild without java support if OpenJDK isn't supported. And I'll have to make sure I'm installing an old enough version of LO that still runs on 32-bit systems. From the looks of it, both version of LibreOffice on Slackbuilds.org are for 64-bit systems. I've edited the version number of a slackbuild to use a more updated source before, but would the same thing work for editing the slackbuild to use an older source which is 32-bit when the build expects 64-bit?
I have a 32bit machine with P4 processor. It takes 26 hours to compile on that machine.
Obviously you must need a 32bit LO binary and LO are no longer supplying them, so your options are to use AlienBob's binaries or build your own.
With alienbob's binaries i've been getting this the past week or so, and can't seem to get it working again. Any ideas how to fix that? I've tried linking libboost_locale.so to libboost_locale.so.1.73.0 etc.
Code:
> $ libreoffice
/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: libboost_locale.so.1.73.0: cannot open shared object file: Error 40
coralfang, check Alien's slackbuilds for the boost-compat package. It was recently updated to cover boost 1.73.0 and installing it will get libreoffice going again.
I have a 32bit machine with P4 processor. It takes 26 hours to compile on that machine.
Obviously you must need a 32bit LO binary and LO are no longer supplying them, so your options are to use AlienBob's binaries or build your own.
Why do you need Java support?
Alex
Thanks. And I don't think I need java support per say, I just assumed it'd be better to have it than to not.
Quick question about AlienBOB's libreoffice packages; http://slackware.uk/people/alien/sla...s/libreoffice/
Under Libreoffice, there are two pkg directories, pkg and pkg64, which seems to imply that the packages which are under pkg will be 32-bit, but in the pkg directory, they list version 6.4 and up for -14.2 and 7.0.1 for -current, but I thought that 6.2 was the last version of LO to support 32-bit?
Does the package listed for -current (7.0.1) work on 32-bit slackware?
I thought that 6.2 was the last version of LO to support 32-bit?
Does the package listed for -current (7.0.1) work on 32-bit slackware?
If you compile the sources, you can build 32bit binaries which is what I did. Probably the Document Foundation no longer releases official 32bit binaries, like Google with Chrome. But who cares about binaries compiled on a non-Slackware OS?
The libreoffice-7.0.1 package in ./pkg/current/ works on a 32bit Slackware-current. Of course these binaries will not work on Slackware 14.2 but with a bit of effort you can compile a 32bit libreoffice-7.0.1 package for Slackware 14.2 yourself.
If you compile the sources, you can build 32bit binaries which is what I did. Probably the Document Foundation no longer releases official 32bit binaries, like Google with Chrome. But who cares about binaries compiled on a non-Slackware OS?
The libreoffice-7.0.1 package in ./pkg/current/ works on a 32bit Slackware-current. Of course these binaries will not work on Slackware 14.2 but with a bit of effort you can compile a 32bit libreoffice-7.0.1 package for Slackware 14.2 yourself.
Ah, thank you
I'll get to work on this then!
edit: is it the .txz file I'd be needing then? Or is that a complete package? I'll be trying to build for -current on 32-bit
edit2: nvm, I re-read alienBob's post and realized his package should work. No need for me to build my own
For some reason, the package I installed from ./pkg/current/ for 7.0.1 doesn't seem to be working properly. For reference, I'm running slackware -current on a 32-bit machine.
Restarting my computer, I tried running libreoffice, I see the loading bar come up but then it just disappears almost as quickly as it came. Running it from the command line gives the error:
Code:
/usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libboost_locale.so.1.74.0: cannot open shared object file: No such file or directory
I'd say I'd just try building from source but would that be likely to fix the error? Regardless, is there a semi-obvious fix for this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.