-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update libreoffice version #40
Comments
@ssinghi thanks for the reminder. I'll see if I have some time this week to update the LibreOffice |
Sending a quick ping on this as the last comment was in January. I would also appreciate a current version. Thanks! |
Hi @vladgolubev - Is there anything I can do to help this along? Since the Layer is tied to your AWS account, there's not much I can do besides creating my own layer? I'm newer to Lambda Layers so I'm not 100% sure. |
Hey @aaronsturm What would help is if you try to compile a newer version yourself and open a PR with changes to the compilation script. I’ll merge it and publish as a new layer version. Last time I tried compiling newer version a month or two ago I ran into OS dependencies problems since LO removed some of the compilation flags. I hope something changed in the recent 6.3 release but someone need to try. |
@vladgolubev - To confirm, it's this repository vladgolubev/serverless-libreoffice correct? I'll take a try at it and get back to you. |
@aaronsturm yes, that's where compilation script resides in |
@vladgolubev - A quick update on this. It's currently stuck when trying to compile Here's a snippet of the errors. |
I took a swing at this and managed to get it to compile with LibreOffice 6.3.2, but with a bunch of experimental steps. I'm honestly not sure which were strictly necessary to successfully build, and which were a bit of a blind alley. That said, here's my notes:
Next, I used a modified
Specifically, I removed the The build will now run to "completion", though the unit tests at the end will fail. The test step works just fine, but you'll run into one last problem - the binary you've built won't run on Lambda. Make sure to follow vladholubiev/serverless-libreoffice#16 and copy I hope some of this is helpful for rebuilding using Amazon Linux 2, as well, since we're closing in on the EOL of Node 8 on AWS Lambda. |
@DanHulton This is great stuff, thanks for this. For what it's worth, I was plugging away on this in the last week and came up with mostly the same conclusions you did, though didn't package it up and run it on Lambda as I couldn't get around unit test failures that seem to be be related to freetype2. In addition to compiling gperf-3.1 and flex-2.6.4, I also compiled and installed freetype-2.10.1 but maybe that's where I went wrong. I wonder how you feel this will work on Amazon Linux 2 potentially running against older versions of these dependencies, or if the runtime doesn't have them at all? Or do these upgraded dependencies get included into the LO build itself and its not dependent on OS versions of these? Thanks again! |
I tried |
Good news: I was able to compile & run LibreOffice in the Node.js 12.x environment. The goal is to make it <250 MB when unzipped, which is what I'm working on right now |
@vladgolubev That's great news! Is there any way we could help? Now that AWS deprecated NodeJS 8 it would be great to get this working again on one of the supported versions |
Hey there, we've just released a new version which works with the new LibreOffice version 6.4.0.1 See https://github.com/shelfio/aws-lambda-libreoffice/releases/tag/v3.0.0 and https://github.com/vladgolubev/serverless-libreoffice/releases/tag/v6.4.0.1 |
It will be great if the package can be upgraded to LibreOffice version 6.1.4 or something stable currently it is using an alpha build.
The text was updated successfully, but these errors were encountered: