FS#61986 - [luarocks] 3.0.4-2 Can't install Lua5.1 and Lua5.2 rocks
Attached to Project:
Community Packages
Opened by Jacek Jaszczuk (padowan) - Tuesday, 12 March 2019, 17:05 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 13 March 2019, 21:22 GMT
Opened by Jacek Jaszczuk (padowan) - Tuesday, 12 March 2019, 17:05 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 13 March 2019, 21:22 GMT
|
Details
Description:
Hi, In version 3.0.4-2 package luarocks replace two old packages luarocks5.1 and luarocks5.2. New package have this config files: etc/luarocks/config-5.1.lua etc/luarocks/config-5.2.lua etc/luarocks/config-5.3.lua But it seems that luarocks 3.0.4-2 can't use config-5.1.lua or config-5.2.lua. So I can't install anythings that require lua5.1 or lua5.2. For example when I install lapis I get: ' padowan@arch ~> sudo luarocks install lapis Error: lapis supports only Lua 5.1 and Lua 5.4 but not Lua 5.3. ' Default configuration file is: ' padowan@arch ~> luarocks *** CONFIGURATION Lua version: 5.3 Configuration files: System : /etc/luarocks/config-5.3.lua (ok) *** ' and I can't find option to change it. When I install version 3.0.4-1 of luarocks, luarocks5.1 and luarocks5.2 packages everythings looks fine: ' padowan@arch ~> sudo luarocks-5.1 install lapis Installing https://luarocks.org/lapis-1.7.0-1.src.rock *** lapis 1.7.0-1 is now installed in /usr (license: MIT) ' Additional info: * luarocks 3.0.4-2 |
This task depends upon
uninstall the two old packages as they are in no repository anymore
Yes, you are right. I can use lua-version option to do this:
'
padowan@arch ~> sudo luarocks --lua-version 5.1 install lapis
Installing https://luarocks.org/lapis-1.7.0-1.src.rock
lapis 1.7.0-1 is now installed in /usr (license: MIT)
'
Everythings works.
I am sorry for the confusion.