[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Luarocks Snow Leopard and MacPorts bug?
- From: Geoff Leyland <geoff_leyland@...>
- Date: Fri, 23 Oct 2009 08:51:46 +1300
Hi,
Sorry to post a luarocks issue to the lua list, but I sent this to
luarocks last night, and it hasn't shown up anywhere. Is luarocks a
subscriber-only list? Is it a remnant of the luaforge meltdown, or
are some of you seeing this for the second time - in which case,
please excuse me.
I just upgraded MacPorts OS X 10.6 and decided to get luarocks 2.0.
So Lua is from macports and in /opt/local and luarocks seemed happy to
install itself in /usr/local.
But then I get an error, I'm afraid I'm not sure where to go from here
(and it told me to mail you!)
bender:~ geoff$ luarocks search lfs
Error: LuaRocks 2.0 bug (please report at luarocks-developers@lists.luaforge.net
).
/usr/local/share/lua/5.1//luarocks/fs/unix/tools.lua:241: attempt to
index global 'dir' (a nil value)
stack traceback:
/usr/local/share/lua/5.1//luarocks/fs/unix/tools.lua:241: in function
'download'
/usr/local/share/lua/5.1//luarocks/fetch.lua:33: in function
'fetch_url'
/usr/local/share/lua/5.1//luarocks/fetch.lua:70: in function
'fetch_url_at_temp_dir'
/usr/local/share/lua/5.1//luarocks/manif.lua:95: in function
'load_manifest'
/usr/local/share/lua/5.1//luarocks/search.lua:174: in function
'manifest_search'
/usr/local/share/lua/5.1//luarocks/search.lua:203: in function
'search_repos'
/usr/local/share/lua/5.1//luarocks/search.lua:375: in function </usr/
local/share/lua/5.1//luarocks/search.lua:362>
(tail call): ?
[C]: in function 'xpcall'
/usr/local/share/lua/5.1//luarocks/command_line.lua:126: in function
'run_command'
/usr/local/bin/luarocks:21: in main chunk
[C]: ?
Cheers,
Geoff