Changes between Version 3 and Version 4 of Ticket #70420, comment 9
- Timestamp:
- Aug 8, 2024, 12:30:23 AM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #70420, comment 9
v3 v4 120 120 1. There is no facility to manage which version of lua is used as the system default. 121 121 1. Uninstalling the `lua` port will break `luarocks` and potentially other lua ports, even though they could use a different version of lua. 122 1. `neovim` depends on `lua51-lpeg`, which depends on `lua-luarocks`, which depends on `lua` and `lua53-luarocks`, guaranteeing that lua 5.3 will be installed when trying to install neovim. 123 1. Building `neovim` is breaking because it links against the `lua.h` provided by the `lua` port (currently 5.3), which is incompatible with neovim and luajit (not for any reasons having to do with `luarocks`). 122 124 1. `luarocks` always runs against the version of lua installed by the `lua` port, because its shebang is `/opt/local/bin/lua`, which is (currently) lua 5.3 by design of the `lua` port. 123 125 a. This remains true even if running `luarocks-5.n` because the versioned copies are all symlinks to the same `luarocks` script. 124 126 1. `luarocks` always manages packages in `/opt/local/share/lua/5.3` because this value is hard-coded in the script. 125 1. Building `neovim` is breaking because it links against the `lua.h` provided by the `lua` port (currently 5.3), which is incompatible with neovim and luajit (not for any reasons having to do with `luarocks`).126 127 128