-
Notifications
You must be signed in to change notification settings - Fork 23
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
Can't install openresty on macOS 10.15 #10
Comments
Mac os 10.15 upgrade openresty 1.15.8.1 -> 1.15.8.2 fail |
I have same problem. --added-- |
Hack for install on Catalina. (It is a temporary hack because of that I don't know to check OS version in configure file.) if ($platform eq 'macosx') { |
I don't have a macOS 10.5 to test. Could anyone contribute a pull request to the |
I'm also wondering if we could simply ship binaries in our homebrew repo so that people don't have to bother fighting Xcode toolchain bugs :) Just a thought. |
Is there some way to check current OS version in openresty/configure file? |
|
Same:
|
i have the same problems ; If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): These open issues may also help: |
XCode has been updated to version 11.2, And 'brew install openresty' will work. Try it! |
@hipsrinoky I try it, but it not work for me,failed to run command: gmake -j8 TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-msse4.2 -DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' CC=cc PREFIX=/usr/local/Cellar/openresty/1.15.8.2/luajit |
Not working for me neither.
macOS 10.15.1 Xcode 11.2 (11B52)
|
Looks like this ties to an issue resolved in LuaJIT: LuaJIT/LuaJIT#518 Solution was to pass macports/macports-ports@29d7df9
|
Adding |
Thanks @hipsrinoky , for quick fix by |
brew edit openresty |
@nooop3 yes this work for me |
.... -fno-stack-check was deleted from homebrew/core in commit e4cc1ca401: |
this work for me, thanks! |
brew edit openresty/brew/openresty 然后重开一个窗口,重新执行:brew install openresty/brew/openresty |
This worked for me! |
doesn't work!!! |
try it out |
this works for me, awesome! |
I have same question ,you can update new command line tools in here ,i have solved |
I committed a fix to our official brew today as per the discussion here. Will some of you help test it out on your side please? I only have 10.14 and 10.12 macOS systems locally. Thanks! |
BTW, I also upgraded our openresty-openssl brew package to OpenSSL 1.1.0l. We'll move further onto OpenSSL 1.1.1 for the next OpenResty release (1.17.8.1). |
Openresty had been upgrade to 1.15.8.3 on 10.15.3 macOS system by brew. It works normally. Thanks @agentzh . |
OpenSSL 1.1.0l can not download.
|
bugfix: worked around XCode tool chain bugs reported in openresty#10 openresty{,-debug}: added -jN to ./configure as well. feature: fixed the parallel build of openssl and its mirror url. Resolved: #378
bugfix: worked around XCode tool chain bugs reported in openresty#10 openresty{,-debug}: added -jN to ./configure as well. feature: fixed the parallel build of openssl and its mirror url. Resolved: #378
OS: macOS 10.15
==== Can't install openresty on macOS 10.15,Error info is here ====
==> Installing openresty/brew/openresty
==> Downloading https://openresty.org/download/openresty-1.15.8.2.tar.gz
Already downloaded: /Users/ryan/Library/Caches/Homebrew/downloads/4395089f0fd423261d4f1124b7beb0f69e1121e59d399e89eaa6e25b641333bc--openresty-1.15.8.2.tar.gz
==> ./configure -j4 --prefix=/usr/local/Cellar/openresty/1.15.8.2 --pid-path=/usr/local/var/run/openresty.pid --lock-path=/usr/local/var/run/op
Last 15 lines from /Users/ryan/Library/Logs/Homebrew/openresty/01.configure:
CC lib_init.o
CC luajit.o
HOSTLINK host/minilua
DYNASM host/buildvm_arch.h
HOSTCC host/buildvm.o
HOSTLINK host/buildvm
BUILDVM lj_vm.S
BUILDVM lj_ffdef.h
BUILDVM lj_bcdef.h
BUILDVM lj_folddef.h
make[1]: *** [lj_folddef.h] Segmentation fault: 11
make[1]: *** Deleting file `lj_folddef.h'
make[1]: *** Waiting for unfinished jobs....
make: *** [default] Error 2
ERROR: failed to run command: gmake -j4 TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-msse4.2 -DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' CC=cc PREFIX=/usr/local/Cellar/openresty/1.15.8.2/luajit
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/openresty/homebrew-brew/issues
The text was updated successfully, but these errors were encountered: