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
Hi,
I was able to install all the rockspec packages except the Brimworks' lua-http-parser. When running luarocks I get the following installation errors under Ubuntu 11.04 using LuaRocks 2.0.6:
Error: LuaRocks 2.0.6 bug (please report at luarocks-developers@lists.sourceforge.net).
/usr/local/share/lua/5.1//luarocks/build/cmake.lua:42: attempt to concatenate field 'CMAKE' (a nil value)
stack traceback:
/usr/local/share/lua/5.1//luarocks/build/cmake.lua:42: in function 'run'
/usr/local/share/lua/5.1//luarocks/build.lua:189: in function </usr/local/share/lua/5.1//luarocks/build.lua:107>
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
[C]: in function 'xpcall'
/usr/local/share/lua/5.1//luarocks/command_line.lua:141: in function 'run_command'
/usr/local/bin/luarocks:23: in main chunk
[C]: ?
I've tried to figure it out on Brimworks GIT repository, but no luck. Any help would be appreciated.
-rj
The text was updated successfully, but these errors were encountered:
This looks like a bug in the latest luarocks (2.0.6). You can workaround the bug by adding a CMAKE variable to the luarocks config.
Here are the variables that I have set in my /etc/luarocks/config.lua:
variables = {
CFLAGS = " -fPIC -march=native -O3 -g -pipe ", -- optimize C modules
CMAKE_BUILD_TYPE = "Release", -- cmake release mode
CMAKE = "cmake", -- You need this one to fix the problem.
}
Hi,
I was able to install all the rockspec packages except the Brimworks' lua-http-parser. When running luarocks I get the following installation errors under Ubuntu 11.04 using LuaRocks 2.0.6:
Using https://github.com/brimworks/lua-http-parser/raw/master/lua-http-parser-scm-0.rockspec... switching to 'build' mode
Cloning into lua-http-parser...
remote: Counting objects: 39, done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 39 (delta 19), reused 14 (delta 5)
Receiving objects: 100% (39/39), 22.13 KiB, done.
Resolving deltas: 100% (19/19), done.
Warning: unmatched variable CMAKE_BUILD_TYPE
Error: LuaRocks 2.0.6 bug (please report at luarocks-developers@lists.sourceforge.net).
/usr/local/share/lua/5.1//luarocks/build/cmake.lua:42: attempt to concatenate field 'CMAKE' (a nil value)
stack traceback:
/usr/local/share/lua/5.1//luarocks/build/cmake.lua:42: in function 'run'
/usr/local/share/lua/5.1//luarocks/build.lua:189: in function </usr/local/share/lua/5.1//luarocks/build.lua:107>
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
[C]: in function 'xpcall'
/usr/local/share/lua/5.1//luarocks/command_line.lua:141: in function 'run_command'
/usr/local/bin/luarocks:23: in main chunk
[C]: ?
I've tried to figure it out on Brimworks GIT repository, but no luck. Any help would be appreciated.
-rj
The text was updated successfully, but these errors were encountered: