Replies: 5 comments
-
You can't install SILE itself through LuaRocks. You can install most of it's dependencies from there, and that's where you get 3rd party packages for it, but you'll need to install SILE itself from it's own source. Download the tarball and follow the "from source" instructions in the readme. We are working on setting up SILE for use as a Lua library that can be used programmatically from other programs, but it is not fully functional as a stand-alone SILE install (hence why it is DEV-only with no released versions yet). That being said, we do have prebuilt Ubuntu packages ready to install from a PPA. Is there some reason those are not suitable for you? |
Beta Was this translation helpful? Give feedback.
-
I will try.
I wanted to try out the https://github.com/Omikhleia/resilient.sile which is build using lua 5.4. However ubuntu packages are built for lua 5.2 (IRC) and I couldn't figure out how I can combine the two. Thank you for explaining me my mistake. |
Beta Was this translation helpful? Give feedback.
-
FWIW, my SILE-related luarocks should work with Lua 5.2 too, there's (normally) nothing preventing it. This being said, regardless of SILE, I remember having troubles setting up a recent version of luarocks itself on my Ubuntu box and to have it target the same version as Lua. I can't remember what I did to fix... And these days I no longer run SILE on the host, but always from (custom) Docker images1... so I'm afraid I can't help much with Ubuntu ^^ EDIT: Just checked quickly on my older Ubuntu VM:
Footnotes
|
Beta Was this translation helpful? Give feedback.
-
The Ubuntu packages we build are built with 5.2 because, at least in the older versions we support is very difficult to configure and build anything outside of the default Lua toolchain on Ubuntu. It does seem like that is/will be changing in current releases but we haven't figured out how to split and automate the builds with different dependencies across different Ubuntu versions. If you are one one of the new Ubuntu releases that defaults to 5.4 you can specify which version of Lua to build for when you run LuaRocks. You'll have to check the arguments, but you can tell it to install for 5.2 explicitly. That should bring up resilient.sile for you. |
Beta Was this translation helpful? Give feedback.
-
Thanks to the various contributors! Closing the topic after (almost) 1 year of inactivity (and things may have changed too with more recent versions of Ubuntu in the meantime.) Of course, please feel free to submit issues or pull requests on the SILE manual or README file(s), if something should be added there. |
Beta Was this translation helpful? Give feedback.
-
I am new to lua and probably missing something obvious.
Here is what I did
List of installed packages (with reductions)
How do I create a
site
binary?Beta Was this translation helpful? Give feedback.
All reactions