Can't Build LibreOffice in Manjaro

System:

Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.6.19-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 20 × 13th Gen Intel® Core™ i9-13900H
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Dell Inc.
Product Name: XPS 15 9530

Trying to build LibreOffice and hitting errors - have never successfully built it in Manjaro despite years of being successful on other distros. Finally trying to figure it out.

Following instructions from LibreOffice wiki - installed dependencies as listed here:
https://wiki.documentfoundation.org/Development/BuildingOnLinux

autogen output: Running './configure --srcdir=/data/libreoffice --enable-option-checking=fatal' - Pastebin.com

make output (the end at least): [build PY ] CustomTarget/writerfilter/source/ooxml/OOXMLFactory_dml-stylesheet.h - Pastebin.com

Why are you doing this?

4 Likes

libreoffice is available from the repositories. There is no need to build it from sources.

There is no good reason to do that as others have said, but if you insist then this is how the package is built. Look at the PKGBUILD for more details and see Arch build system - ArchWiki

$ git clone https://gitlab.archlinux.org/archlinux/packaging/packages/libreoffice-still.git
$ cd libreoffice-still
$ makepkg
1 Like

The reason is pretty obvious actually - I used to work on the project (in fact I was once on the Board of The Document Foundation). I’d like to start dabbling again to see if I have the energy to start doing so again :slight_smile:

I don’t want still, I want master.

Please just inform them about the existence, don’t try to talk them down from what they try to achieve.

Certainly manjaro is not wanting to limit the ability of someone being able to build some software?

PKGBUILD for libreoffice-fresh.
By adjusting the pkgver and _LOver variables you should be able to use another / newer version.

https://download.documentfoundation.org/libreoffice/src/

Hi @jjmadero as suggested by @Nachlese you may want to check the PKGBUILD of libreoffice-fresh especially for the patches and compiling flag changes. Maybe create a bash script to automate your builds. Another option would be to modifiy the given PKGBUILD to your needs and use that in a fakeroot environment. The whole package seems complex and need some adjustments.

Oh really? :thinking:

You did? First we’re hearing of it… :face_with_raised_eyebrow:

You started off on the wrong foot, apparently forgot to include some very important details and confused our volunteers that tried to help.

Please see:

Whoops, @MrLavender forgot something. The LibreOffice PKGBUILDs are here.

Please create a new thread if you still need help. I’m closing this thread as it going nowhere fast. We need a fresh start as I mentioned above.