Hi,
I am trying to get my Lua environment up and running,
but have run into weird (?) LuaRocks behaviour. My
system is Windows 7 and I am using LuaRocks 2.0.9-win32.
I have installed LuaRocks with install.bat without any
options (it uses the system wget however):
*>* luarocks install luasocket 2.0.2-3
luasocket is successfully installed.
However, if I now try to do something else:
*> *luarocks search lpeg
Warning: Failed searching manifest: Failed loading manifest: Failed
fetching manifest for http://luarocks.org/repositories/rocks - Error
fetching file: Failed downloading
http://luarocks.org/repositories/rocks/manifest - timeout
This is the known proxy issue, which I can somewhat solve
by adding the proxy variable in config.lua. But that
does not help much:
*> *luarocks search lpeg
Error: LuaRocks 2.0.8 bug (please report at
[email protected]).
C:\LuaRocks/share/lua/5.1/socket\http.lua:116: bad argument #1 to 'connect'
(string expected, got nil)
stack traceback:
[C]: in function 'request'
C:\LuaRocks\2.0\lua\luarocks\fs\lua.lua:491: in function
'http_request'
C:\LuaRocks\2.0\lua\luarocks\fs\lua.lua:533: in function 'download'
C:\LuaRocks\2.0\lua\luarocks\fetch.lua:34: in function 'fetch_url'
C:\LuaRocks\2.0\lua\luarocks\fetch.lua:75: in function
'fetch_url_at_temp_dir'
C:\LuaRocks\2.0\lua\luarocks\manif.lua:99: in function
'load_manifest'
C:\LuaRocks\2.0\lua\luarocks\search.lua:172: in function
'manifest_search'
C:\LuaRocks\2.0\lua\luarocks\search.lua:201: in function
'search_repos'
C:\LuaRocks\2.0\lua\luarocks\search.lua:377: in function
<C:\LuaRocks\2.0\lua\luarocks\search.lua:364>
(tail call): ?
[C]: in function 'xpcall'
C:\LuaRocks\2.0\lua\luarocks\command_line.lua:151: in function
'run_command'
C:\LuaRocks\2.0\luarocks.lua:23: in main chunk
So it seems that LR itself is not shielded from the modules it installs?!
At least
not in my system. On the other hand, LR should be able to install Orbit (and
other Kepler stuff) that have dependency on luasocket? Also, LR homepage
uses luasocket installation as an example, so it should not break it...
Is something wrong in my environment (besides Win7 ;)) or is this a known
issue?
Has anybody been able to get LR work in Win7? With or without say Cygwin,
MinGW?
Thanks.
++Vespe
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers