luarocks / luarocks

LuaRocks is the package manager for the Lua programming language.
https://www.luarocks.org
MIT License
3.28k stars 433 forks source link

luarocks doesn't work on windows 10 #1245

Open loryxia opened 3 years ago

loryxia commented 3 years ago

Hello,

I installed luarocks from source, macosx works ok, but failed on windows 10.

BTW, I installed luarocks by install.bat which in source folder.

Error: LuaRocks 3.2.1 bug (please report at https://github.com/luarocks/luarocks/issues). Arch.: win32-x86_64 C:\Program Files (x86)\LuaRocks\lua\luarocks\core\vers.lua:192: attempt to compare two table values stack traceback: C:\Program Files (x86)\LuaRocks\lua\luarocks\core\vers.lua:192: in function 'luarocks.core.vers.match_constraints' C:\Program Files (x86)\LuaRocks\lua\luarocks\deps.lua:41: in upvalue 'match_dep' C:\Program Files (x86)\LuaRocks\lua\luarocks\deps.lua:121: in function 'luarocks.deps.report_missing_dependencies' C:\Program Files (x86)\LuaRocks\lua\luarocks\deps.lua:229: in function 'luarocks.deps.fulfill_dependencies' C:\Program Files (x86)\LuaRocks\lua\luarocks\build.lua:136: in upvalue 'process_dependencies' C:\Program Files (x86)\LuaRocks\lua\luarocks\build.lua:365: in function 'luarocks.build.build_rockspec' (...tail calls...) C:\Program Files (x86)\LuaRocks\lua\luarocks\cmd\build.lua:162: in function 'luarocks.cmd.build.command' (...tail calls...) [C]: in function 'xpcall' C:\Program Files (x86)\LuaRocks\lua\luarocks\cmd.lua:596: in function 'luarocks.cmd.run_command' C:\Program Files (x86)\LuaRocks\luarocks.lua:35: in main chunk [C]: in ?

hishamhm commented 3 years ago

@loryxia This is the repo for the website only. The repo for the LuaRocks CLI tool is https://github.com/luarocks/luarocks. I'm transferring the issue!

Can you try the latest version LuaRocks 3.5.0? For Windows, please give the stand-alone executable a try!

loryxia commented 3 years ago

Thank you,

Yes, i would tray stand-alone executable for windows. But i have a question, what is it just only for website? where is version 3.5.0 luarocks source code with windows? not in github?