I'm trying to install LuaDist by following the instruction. But running:
$ bootstrap.bat
returned
bash: bootstrap.bat: command not found
Then, I run this command:
$ cmd "/C bootstrap.bat"
It started to work and everything seems fine until meeting the following errors:
CMake Error at C:/Program Files/CMake/share/cmake-3.13/Modules/CMakeMinGWFindMake.cmake:12 (message):
sh.exe was found in your PATH, here:
C:/Program Files/Git/usr/bin/sh.exe
For MinGW make to work correctly sh.exe must NOT be in your path.
Run cmake from a shell that does not have sh.exe in your PATH.
If you want to use a UNIX shell, then use MSYS Makefiles.
Call Stack (most recent call first):
CMakeLists.txt:7 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
CMakeFiles\luafilesystem.dir\build.make:105: recipe for target 'luafilesystem/src/luafilesystem-stamp/luafilesystem-configure' failed
mingw32-make.exe[3]: *** [luafilesystem/src/luafilesystem-stamp/luafilesystem-configure] Error 1
CMakeFiles\Makefile2:108: recipe for target 'CMakeFiles/luafilesystem.dir/all' failed
mingw32-make.exe[2]: *** [CMakeFiles/luafilesystem.dir/all] Error 2
CMakeFiles\Makefile2:189: recipe for target 'CMakeFiles/install.dir/rule' failed
mingw32-make.exe[1]: *** [CMakeFiles/install.dir/rule] Error 2
Makefile:156: recipe for target 'install' failed
mingw32-make.exe: *** [install] Error 2
Bootstrap done, building LuaDist using LuaDist
'H:_bootstrap_bootstrap\bin\luadist.exe' is not recognized as an internal or external command,
operable program or batch file.
LuaDist is now built and can be found in H:_bootstrap_install
I have deleted sh.exe in that folder, but the same error persists. How to solve it?