Error building LibreOffice with AlienBob's libreoffice64.SlackBuild
I'm building on arm so I can't use his pre-built packages. I am running -current and slackpkg shows I'm up to date. I get the following error:
Code:
checking for ant... no Thanks |
So this is tricky to build. Alien's script won't work on arm/aarch64. I was successful on aarch64 using the SlackBuild from SBo, by Chris willing. I didn't build directly from SBo, but using ponce's git repository. I also used slackrepo to build it so I could minimally modify the build using what slackrepo calls a hint file. Basically I updated to a newer version, disabled java, postgresql and firebird support. I attached the hint file, I hope that helps. Let me know how it goes and I will help you out if needed.
LibreOffice.hint file: Code:
OPTIONS="LOLANGS=en-US JAVA=no HAVE_SRCS_TARBALL=1 postgresql='--disable-postgresql-sdbc'" Remove jdk11 from the .info file if you build using slackrepo or sbopkg. Here is where I got the SlackBuild: http://cgit.ponce.cc/slackbuilds/tre...ce/LibreOffice I also added --disable-firebird-sdbc to the ./autogen.sh configuration. If you just want to run the Slackbuild, also add --without-java and --disable-postgresql-sdbc. I found the LFS guide useful for this build too, http://www.linuxfromscratch.org/blfs...breoffice.html Hopefully this makes sense, I can clarify. |
Quote:
Did you want the old libreoffice-6.4.6? If you want the newest use libreoffice.SlackBuild rather than libreoffice64.SlackBuild I did make it build on Slackware ARM, but it wasn't straightforward. I made quite a few modifications to the script and I am not sure which ones were necessary in the end. I might have a look at the SBo slackbuild next time. |
Yes, this is complicated. I am, building 6.4.2. I'm trying to keep the same versions on my (86)laptop and (arm)Pi. & of LO I had some problems with on my laptop, it would run fine for a bit then start scrolling slow so I went back to 6.4 for now.
I suppose I should really switch the laptop to -current |
As a reference to how much memory and processing power I needed: I had 18 combined processor cores, 10GB of RAM, and 12GB of Swap, between my distcc hosts. It took 5 hours or so to build LibreOffice from source and several more testing the script before that to get it to build.
If your system is very sluggish while building LO, you need to add more swap space and memory to your build machine(s). It most likely means that you have your swap space stored on your SD Card. Get an external hard drive, plug it into your ARM device, and add a swap file to the external disk. Make sure the swap is using a higher priority than your existing swap. Rule of thumb is: mount /tmp in memory, dont swap on SD, don't swap on the same disk where the LO source code is being built at, and if you have one, use a solid state drive. |
Quote:
In the header section of https://slackware.nl/people/alien/sl...e64.SlackBuild you can find: Code:
# Needs: |
Thanks guys, I did go back to the Slackbuild at http://cgit.ponce.cc/slackbuilds/tre...ce/LibreOffice and was able to build 7.1 fine after a loooong compile :)
|
Quote:
Ok, I'm apparently really bad at reading lately, I guess I really need sleep :) |
Quote:
|
Using ponce link indicated in this thread post #2, downloading the files there, then doing
Code:
LOLANGS="en-US" JAVA=no USE_CCACHE=yes sh LibreOffice.SlackBuild |
post deleted
|
All times are GMT -5. The time now is 06:58 PM. |