-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors:can't install cgilua #482
Comments
Can't reproduce, what versions of Lua and LuaRocks do you use? |
hi mpeterv, |
Couldn't reproduce with Lua 5.1 and LuaRocks 2.3.0 |
I'm using LuaRocks 2.2.2 |
Can you give 2.3.0 a try? What other rocks do you have installed? (luarocks list) |
Hi,
|
FYI the same error here trying to install lua-mosquitto on OpenWRT. root@OpenWRT:~# luarocks install lua-mosquitto Error: LuaRocks 2.2.2 bug (please report at https://github.com/keplerproject/luarocks/issues). root@OpenWRT:~# luarocks list Running Lua 5.1 and Luarocks 2.2.2. as unfortunately that's what the openwrt package is. |
@wardg32 can you re-run the command with |
Here you go, hope it helps. |
On this moment Luarocks (version 2.2.2) does not work for all Lua packages on OpenWRT. root@OpenWrt:/# lua
On Linux server 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux:
|
Thank a lot! |
Did anyone ever get a way of solving this? It seems from the above post that the version(s) of lua are different. I would not mind following up with the openwrt team and specifically whoever maintains Lua there. |
Looking at the ticket above this is indeed an issue with openwrt and their team knows (the ticket is still open though). Closing as not a luarocks bug. |
/usr/share/lua/5.1/luarocks/deps.lua:159: attempt to compare two table values
stack traceback:
/usr/share/lua/5.1/luarocks/deps.lua:159: in function 'compare_versions'
/usr/share/lua/5.1/luarocks/type_check.lua:175: in function 'check_version'
/usr/share/lua/5.1/luarocks/type_check.lua:269: in function </usr/share/lua/5.1/luarocks/type_check.lua:264>
(tail call): ?
/usr/share/lua/5.1/luarocks/manif_core.lua:28: in function </usr/share/lua/5.1/luarocks/manif_core.lua:21>
(tail call): ?
/usr/share/lua/5.1/luarocks/search.lua:176: in function 'manifest_search'
/usr/share/lua/5.1/luarocks/search.lua:209: in function 'search_repos'
/usr/share/lua/5.1/luarocks/search.lua:285: in function 'find_suitable_rock'
/usr/share/lua/5.1/luarocks/install.lua:189: in function </usr/share/lua/5.1/luarocks/install.lua:161>
(tail call): ?
[C]: in function 'xpcall'
/usr/share/lua/5.1/luarocks/command_line.lua:208: in function 'run_command'
/usr/bin/luarocks:33: in main chunk
[C]: ?
The text was updated successfully, but these errors were encountered: