You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This then sets LUA_PATH and LUA_CPATH, which overrides SILE's built-in paths and prevents it from finding things (the first error is for penlight, but then all of the other things SILE depends on).
It looks as if SILE forcibly preserves some paths. The error list includes things like:
no file '/opt/homebrew/Cellar/sile/0.15.9/lib/sile/lua-libraries/pl/import_into.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/lib/sile/lua-libraries/pl/import_into/init.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/lib/sile/pl/import_into.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/lib/sile/pl/import_into/init.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/lib/sile/lua_modules/share/lua/5.1/sile/pl/import_into.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/lib/sile/lua_modules/share/lua/5.1/sile/pl/import_into/init.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/lib/sile/lua_modules/share/lua/5.1/pl/import_into.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/lib/sile/lua_modules/share/lua/5.1/pl/import_into/init.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/share/sile/lua-libraries/pl/import_into.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/share/sile/lua-libraries/pl/import_into/init.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/share/sile/pl/import_into.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/share/sile/pl/import_into/init.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/share/sile/lua_modules/share/lua/5.1/sile/pl/import_into.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/share/sile/lua_modules/share/lua/5.1/sile/pl/import_into/init.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/share/sile/lua_modules/share/lua/5.1/pl/import_into.lua'
no file '/opt/homebrew/Cellar/sile/0.15.9/share/sile/lua_modules/share/lua/5.1/pl/import_into/init.lua'
But the SILE dependencies are installed under /opt/homebrew/Cellar/sile/0.15.9/libexec, so this doesn't work.
If you are installing Rocks to a project-local lua_modules tree, you shouldn't need that eval $(luarocks path) business at all, that one tree location is built in already.
That's not to say there isn't a real issue here, just a tip to maybe get you back to work fast while I try to make out what's up with the rest of this.
If you use a package that does not exist, SILE tells you to first do:
This installs the package under lua_modules. So far so good.
It then tells you to:
This then sets
LUA_PATH
andLUA_CPATH
, which overrides SILE's built-in paths and prevents it from finding things (the first error is for penlight, but then all of the other things SILE depends on).It looks as if SILE forcibly preserves some paths. The error list includes things like:
But the SILE dependencies are installed under
/opt/homebrew/Cellar/sile/0.15.9/libexec
, so this doesn't work.You can work around this by doing:
This (from reading the comments in the SILE code) makes add (prepend) the environment variables to the default path, rather than replacing.
The text was updated successfully, but these errors were encountered: