-
Compatibility issues with
|
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 11 replies
-
What OS are you an and what install methods are you using for Lua Rocks and SILE? Also why are you using Lua 5.4 specifically? It will still work of course, but we've switched the default/recommendation to LuaJIT because it is just so much faster. |
Beta Was this translation helpful? Give feedback.
-
Thank you for replying. I'm running Manjaro-Sway and I installed SILE and LuaRocks by I have |
Beta Was this translation helpful? Give feedback.
-
Something doesn't add up there. The Manjaro packages are just going to be copies of the Arch Linux packaging, which I build. The default Lua used for the Arch packages is LuaJIT, so installing The error messages you are showing in your first post however are showing an a version of SILE that is build against Lua 5.4. You appear to have mixed and matched packages somehow. I don't know what your "downgrade" process is (since no such thing is really supported in Arch/Manjara) but I believe you have cross wired something and are not really using the packages & their dependencies as they were built. I suggest a |
Beta Was this translation helpful? Give feedback.
-
Two other things to confirm: have you ever done an installation from source too or just the system package manager? Are you by chance trying to run SILE from inside a checkout of the SILE sources? |
Beta Was this translation helpful? Give feedback.
-
Manjaro uses mainly the same repositories as Arch. And I have that bunch of
The SILE version I installed is 0.14.13-1 built by you on Arch's packages. I do run
Running Running
Thank you so much for your time looking into this. I may have to reinstall my system. |
Beta Was this translation helpful? Give feedback.
-
SILE before v0.14.11 worked beautifully, so I did not dive into its source and try to install it from there, and I've never tried to run SILE from inside a checkout either. The distro's package manager does a very good job of updating everything though. |
Beta Was this translation helpful? Give feedback.
-
First, the output of the path dump I requested above would be useful: $ /usr/bin/sile -e 'SU.dump(pl.stringx.split(package.path, ";"))' -e 'os.exit()' Also |
Beta Was this translation helpful? Give feedback.
-
It looks to me like you somehow have a partial SILE install in your personal user's home directory, possibly installed with Do you have anything in your user's shell RC files for using local rocks? Fore xample |
Beta Was this translation helpful? Give feedback.
-
The ouput of the above command with older version of SILE:
These above 2 lines maybe the culprits. Switching to 0.14.13-1, I got:
|
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Thank you so much, this is the ANSWER! I commented the line:
Now, SILE does not Thank you so so much for helping me solve my problem. |
Beta Was this translation helpful? Give feedback.
-
You can install the Resiliant library with a matching Lua version. I'll lookup the command later but it is probably something like |
Beta Was this translation helpful? Give feedback.
-
I just checked locally and I think those commands are right. The only catch you might run into is actually an Arch Linux foible not a SILE issue per say, but in order to get |
Beta Was this translation helpful? Give feedback.
You can install the Resiliant library with a matching Lua version. I'll lookup the command later but it is probably something like
luarocks --lua-version 5.1 install --local
, and then you can add your paths with something likeeval $(luarocks --lua-version 5.1 patch --local)
. However I haven't tested that so the exact command might vary. Also instead of using--local
for this I would actually recommend using--tree lua_modules
or something like that and install the Rocks local to your project. Installing them to the system or your user makes for trouble when you want to run a project that does not use those modules because silex kind of aggressively takes over some core SILE functions. SI…