Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest OpenResty fails to compile on windows #36

Open
leso-kn opened this issue Oct 27, 2023 · 0 comments
Open

Latest OpenResty fails to compile on windows #36

leso-kn opened this issue Oct 27, 2023 · 0 comments

Comments

@leso-kn
Copy link
Contributor

leso-kn commented Oct 27, 2023

The latest version of openresty fails to compile on windows. This is due to the Makefile expecting the shell to be cmd on windows, but gh-actions-lua currently sets it to bash, resulting in the following error:

HOSTLINK  host/minilua.exe
VERSION   luajit.h
DYNASM    host/buildvm_arch.h
/usr/bin/bash: -c: line 1: syntax error near unexpected token `('
/usr/bin/bash: -c: line 1: `if exist ..\.git ( git show -s --format=%%ct >luajit_relver.txt ) else ( type ..\.relver >luajit_relver.txt )'
make[1]: *** [Makefile:677: luajit.h] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory 'D:/a/_temp/.lua-build/luajit2/src'
make: *** [Makefile:125: default] Error 2
Error: Failed to install Lua: Error: The process 'C:\mingw64\bin\make.exe' failed with exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant