dimanche 29 mars 2015

LUAROCKS config gives errors

I installed luarocks-2.2.1-win32 from here:



http://ift.tt/19lbaYL


and the installation was simple. There is a .bat file that does it all. But unfortunately, the rocks that are downloaded are not recognized by LUA. I checked my LUA install by issuing



luarocks config


and get this:



C:\Program Files (x86)\Lua\5.1\lua: C:\Program Files (x86)\Lua\5.1\luarocks.lua:3: module 'luarocks.command_line' not found:
no field package.preload['luarocks.command_line']
no file 'C:\Program Files (x86)\LuaRocks\2.2\lua\luarocks\'
no file 'C:\Program Files (x86)\LuaRocks\2.2\lua\luarocks\init.lua'
no file 'C:\Program Files (x86)\LuaRocks\systree\share'
no file 'C:\Program Files (x86)\LuaRocks\systree\share\lua\5.1\luarocks\command_line.lua'
no file 'C:\Program Files (x86)\LuaRocks\systree\share\lua\5.1\luarocks\command_line\init.lua'
no file 'C:\Program Files (x86)\LuaRocks\systree\share\lua\5.1'
no file 'C:\Program Files (x86)\LuaRocks\systree\lib\lua\5.1\luarocks\command_line.dll'
no file 'C:\Users\Stefan\AppData\Roaming\LuaRocks\share\lua\5.1\luarocks\command_line.lua'
no file 'C:\Users\Stefan\AppData\Roaming\LuaRocks\lib\lua\5.1\luarocks\command_line.dll'
no file '.\luarocks\command_line.dll'
no file '.\luarocks\command_line51.dll'
no file 'C:\Program Files (x86)\Lua\5.1\luarocks\command_line.dll'
no file 'C:\Program Files (x86)\Lua\5.1\luarocks\command_line51.dll'
no file 'C:\Program Files (x86)\Lua\5.1\clibs\luarocks\command_line.dll'
no file 'C:\Program Files (x86)\Lua\5.1\clibs\luarocks\command_line51.dll'
no file 'C:\Program Files (x86)\Lua\5.1\loadall.dll'
no file 'C:\Program Files (x86)\Lua\5.1\clibs\loadall.dll'
no file '.\luarocks.dll'
no file '.\luarocks51.dll'
no file 'C:\Program Files (x86)\Lua\5.1\luarocks.dll'
no file 'C:\Program Files (x86)\Lua\5.1\luarocks51.dll'
no file 'C:\Program Files (x86)\Lua\5.1\clibs\luarocks.dll'
no file 'C:\Program Files (x86)\Lua\5.1\clibs\luarocks51.dll'
no file 'C:\Program Files (x86)\Lua\5.1\loadall.dll'
no file 'C:\Program Files (x86)\Lua\5.1\clibs\loadall.dll'
stack traceback:
[C]: in function 'require'
C:\Program Files (x86)\Lua\5.1\luarocks.lua:3: in main chunk
[C]: ?


Anyone have experience with installing LUArocks into windows?


Aucun commentaire:

Enregistrer un commentaire