luapak
luapak copied to clipboard
Luapak seems to require "uname" which is not a valid command on Windows
I try to use luapak in Windows. I downloaded the Windows binary package 0.1.0 beta 5
Running luapak make yields:
The command "uname" was not found. main:1186: attempt to index a nil value (field 'LUAROCKS_UNAME_S') stack traceback: main:1186: in function main:1161 [C]: in function 'require' main:4507: in function main:4506 [C]: in function 'require' main:3896: in function main:3895 [C]: in function 'require' main:1202: in function main:1201 [C]: in function 'require' main:5341: in function main:5340 [C]: in function 'require' main:10587: in main chunk
can confirm tried putting gnuwin32 coreutils uname.exe in the same folder and it worked https://sourceforge.net/projects/gnuwin32/files/coreutils/
got stuck in a new error message tho
luapak: error: Cound not find a downloader helper program, tried: curl, wget, fetch luapak: error: Cound not find a MD5 checksum calculator, tried: md5sum, openssl, md5
I tried putting the md5sum.exe from coreutils on the same folder as well and it did not work I'm using windows 10 which comes with curl installed by default
same error for me also
Luapak’s Windows support is designed for MSYS2/mingw environment/toolchain which provides needed tools for building native extensions and also uname command.
as @gustavooavila said, after downloading uname there is more error
luapak: error: Cound not find a downloader helper program, tried: curl, wget, fetch luapak: error: Cound not find a MD5 checksum calculator, tried: md5sum, openssl, md5
after downloading uname there is more error
Downloading uname? Please read my comment again:
Luapak’s Windows support is designed for MSYS2/mingw environment/toolchain which provides needed tools for building native extensions and also uname command.
It will not work without MSYS2/mingw. Windows doesn’t have any build toolchains by default and their native build toolchain is unusable for this.