You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apisix.apache.org by Sheng Wu <wu...@gmail.com> on 2020/02/19 09:24:21 UTC

Installing the openresty on the latest MacOS fail

Hi

I am following the first step to install the OpenResty Nginx distribution.
But it fails. Do you know how to fix this? My MacOS is 10.15.3.

Wu-Sheng-s-MacBook-Pro:apache-dolphinscheduler-incubating-1.2.1-src-release
wusheng$ brew install openresty

Updating Homebrew...

==> *Auto-updated Homebrew!*

Updated 1 tap (homebrew/cask).

No changes to formulae.


==> *Installing openresty from openresty/brew*

Warning: A newer Command Line Tools release is available.

Update them from Software Update in System Preferences or

https://developer.apple.com/download/more/.


==> *Downloading https://openresty.org/download/openresty-1.15.8.2.tar.gz
<https://openresty.org/download/openresty-1.15.8.2.tar.gz>*

Already downloaded:
/Users/wusheng/Library/Caches/Homebrew/downloads/4395089f0fd423261d4f1124b7beb0f69e1121e59d399e89eaa6e25b641333bc--openresty-1.15.8.2.tar.gz

==> *./configure -j8 --prefix=/usr/local/Cellar/openresty/1.15.8.2
<http://1.15.8.2> --pid-path=/usr/local/var/run/openresty.pid
--lock-path=/usr/*

Last 15 lines from
/Users/wusheng/Library/Logs/Homebrew/openresty/01.configure:

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

BUILDVM   lj_recdef.h

BUILDVM   lj_libdef.h

BUILDVM   jit/vmdef.lua

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 -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


If reporting this issue please do so at (not Homebrew/brew or
Homebrew/core):

  https://github.com/openresty/homebrew-brew/issues


These open issues may also help:

Can't install openresty on macOS 10.15
https://github.com/openresty/homebrew-brew/issues/10

The openresty-debug package should use openresty-openssl-debug instead
https://github.com/openresty/homebrew-brew/issues/3

Fails to install OpenResty
https://github.com/openresty/homebrew-brew/issues/5


Error: A newer Command Line Tools release is available.

Update them from Software Update in System Preferences or

https://developer.apple.com/download/more/.

Sheng Wu 吴晟
Twitter, wusheng1108

Re: Installing the openresty on the latest MacOS fail

Posted by YuanSheng Wang <me...@gmail.com>.
Many thanks again ^_^


On Wed, Feb 19, 2020 at 6:16 PM Ming Wen <we...@apache.org> wrote:

> Thanks, Sheng Wu.
>
> Thanks,
> Ming Wen, Apache APISIX
> Twitter: _WenMing
>
>
> Sheng Wu <wu...@gmail.com> 于2020年2月19日周三 下午5:57写道:
>
> > I fixed and submitted a FAQ PR,
> > https://github.com/apache/incubator-apisix/pull/1142
> >
> > Sheng Wu 吴晟
> > Twitter, wusheng1108
> >
> >
> > Sheng Wu <wu...@gmail.com> 于2020年2月19日周三 下午5:24写道:
> >
> > > Hi
> > >
> > > I am following the first step to install the OpenResty Nginx
> > distribution.
> > > But it fails. Do you know how to fix this? My MacOS is 10.15.3.
> > >
> > >
> >
> Wu-Sheng-s-MacBook-Pro:apache-dolphinscheduler-incubating-1.2.1-src-release
> > > wusheng$ brew install openresty
> > >
> > > Updating Homebrew...
> > >
> > > ==> *Auto-updated Homebrew!*
> > >
> > > Updated 1 tap (homebrew/cask).
> > >
> > > No changes to formulae.
> > >
> > >
> > > ==> *Installing openresty from openresty/brew*
> > >
> > > Warning: A newer Command Line Tools release is available.
> > >
> > > Update them from Software Update in System Preferences or
> > >
> > > https://developer.apple.com/download/more/.
> > >
> > >
> > > ==> *Downloading
> > https://openresty.org/download/openresty-1.15.8.2.tar.gz
> > > <https://openresty.org/download/openresty-1.15.8.2.tar.gz>*
> > >
> > > Already downloaded:
> > >
> >
> /Users/wusheng/Library/Caches/Homebrew/downloads/4395089f0fd423261d4f1124b7beb0f69e1121e59d399e89eaa6e25b641333bc--openresty-1.15.8.2.tar.gz
> > >
> > > ==> *./configure -j8 --prefix=/usr/local/Cellar/openresty/1.15.8.2
> > > <http://1.15.8.2> --pid-path=/usr/local/var/run/openresty.pid
> > > --lock-path=/usr/*
> > >
> > > Last 15 lines from
> > > /Users/wusheng/Library/Logs/Homebrew/openresty/01.configure:
> > >
> > > 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
> > >
> > > BUILDVM   lj_recdef.h
> > >
> > > BUILDVM   lj_libdef.h
> > >
> > > BUILDVM   jit/vmdef.lua
> > >
> > > 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 -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
> > >
> > >
> > > If reporting this issue please do so at (not Homebrew/brew or
> > > Homebrew/core):
> > >
> > >   https://github.com/openresty/homebrew-brew/issues
> > >
> > >
> > > These open issues may also help:
> > >
> > > Can't install openresty on macOS 10.15
> > > https://github.com/openresty/homebrew-brew/issues/10
> > >
> > > The openresty-debug package should use openresty-openssl-debug instead
> > > https://github.com/openresty/homebrew-brew/issues/3
> > >
> > > Fails to install OpenResty
> > > https://github.com/openresty/homebrew-brew/issues/5
> > >
> > >
> > > Error: A newer Command Line Tools release is available.
> > >
> > > Update them from Software Update in System Preferences or
> > >
> > > https://developer.apple.com/download/more/.
> > >
> > > Sheng Wu 吴晟
> > > Twitter, wusheng1108
> > >
> >
>


-- 

*MembPhis*
My github: https://github.com/membphis
Apache APISIX: https://github.com/apache/incubator-apisix

Re: Installing the openresty on the latest MacOS fail

Posted by Ming Wen <we...@apache.org>.
Thanks, Sheng Wu.

Thanks,
Ming Wen, Apache APISIX
Twitter: _WenMing


Sheng Wu <wu...@gmail.com> 于2020年2月19日周三 下午5:57写道:

> I fixed and submitted a FAQ PR,
> https://github.com/apache/incubator-apisix/pull/1142
>
> Sheng Wu 吴晟
> Twitter, wusheng1108
>
>
> Sheng Wu <wu...@gmail.com> 于2020年2月19日周三 下午5:24写道:
>
> > Hi
> >
> > I am following the first step to install the OpenResty Nginx
> distribution.
> > But it fails. Do you know how to fix this? My MacOS is 10.15.3.
> >
> >
> Wu-Sheng-s-MacBook-Pro:apache-dolphinscheduler-incubating-1.2.1-src-release
> > wusheng$ brew install openresty
> >
> > Updating Homebrew...
> >
> > ==> *Auto-updated Homebrew!*
> >
> > Updated 1 tap (homebrew/cask).
> >
> > No changes to formulae.
> >
> >
> > ==> *Installing openresty from openresty/brew*
> >
> > Warning: A newer Command Line Tools release is available.
> >
> > Update them from Software Update in System Preferences or
> >
> > https://developer.apple.com/download/more/.
> >
> >
> > ==> *Downloading
> https://openresty.org/download/openresty-1.15.8.2.tar.gz
> > <https://openresty.org/download/openresty-1.15.8.2.tar.gz>*
> >
> > Already downloaded:
> >
> /Users/wusheng/Library/Caches/Homebrew/downloads/4395089f0fd423261d4f1124b7beb0f69e1121e59d399e89eaa6e25b641333bc--openresty-1.15.8.2.tar.gz
> >
> > ==> *./configure -j8 --prefix=/usr/local/Cellar/openresty/1.15.8.2
> > <http://1.15.8.2> --pid-path=/usr/local/var/run/openresty.pid
> > --lock-path=/usr/*
> >
> > Last 15 lines from
> > /Users/wusheng/Library/Logs/Homebrew/openresty/01.configure:
> >
> > 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
> >
> > BUILDVM   lj_recdef.h
> >
> > BUILDVM   lj_libdef.h
> >
> > BUILDVM   jit/vmdef.lua
> >
> > 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 -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
> >
> >
> > If reporting this issue please do so at (not Homebrew/brew or
> > Homebrew/core):
> >
> >   https://github.com/openresty/homebrew-brew/issues
> >
> >
> > These open issues may also help:
> >
> > Can't install openresty on macOS 10.15
> > https://github.com/openresty/homebrew-brew/issues/10
> >
> > The openresty-debug package should use openresty-openssl-debug instead
> > https://github.com/openresty/homebrew-brew/issues/3
> >
> > Fails to install OpenResty
> > https://github.com/openresty/homebrew-brew/issues/5
> >
> >
> > Error: A newer Command Line Tools release is available.
> >
> > Update them from Software Update in System Preferences or
> >
> > https://developer.apple.com/download/more/.
> >
> > Sheng Wu 吴晟
> > Twitter, wusheng1108
> >
>

Re: Installing the openresty on the latest MacOS fail

Posted by Sheng Wu <wu...@gmail.com>.
I fixed and submitted a FAQ PR,
https://github.com/apache/incubator-apisix/pull/1142

Sheng Wu 吴晟
Twitter, wusheng1108


Sheng Wu <wu...@gmail.com> 于2020年2月19日周三 下午5:24写道:

> Hi
>
> I am following the first step to install the OpenResty Nginx distribution.
> But it fails. Do you know how to fix this? My MacOS is 10.15.3.
>
> Wu-Sheng-s-MacBook-Pro:apache-dolphinscheduler-incubating-1.2.1-src-release
> wusheng$ brew install openresty
>
> Updating Homebrew...
>
> ==> *Auto-updated Homebrew!*
>
> Updated 1 tap (homebrew/cask).
>
> No changes to formulae.
>
>
> ==> *Installing openresty from openresty/brew*
>
> Warning: A newer Command Line Tools release is available.
>
> Update them from Software Update in System Preferences or
>
> https://developer.apple.com/download/more/.
>
>
> ==> *Downloading https://openresty.org/download/openresty-1.15.8.2.tar.gz
> <https://openresty.org/download/openresty-1.15.8.2.tar.gz>*
>
> Already downloaded:
> /Users/wusheng/Library/Caches/Homebrew/downloads/4395089f0fd423261d4f1124b7beb0f69e1121e59d399e89eaa6e25b641333bc--openresty-1.15.8.2.tar.gz
>
> ==> *./configure -j8 --prefix=/usr/local/Cellar/openresty/1.15.8.2
> <http://1.15.8.2> --pid-path=/usr/local/var/run/openresty.pid
> --lock-path=/usr/*
>
> Last 15 lines from
> /Users/wusheng/Library/Logs/Homebrew/openresty/01.configure:
>
> 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
>
> BUILDVM   lj_recdef.h
>
> BUILDVM   lj_libdef.h
>
> BUILDVM   jit/vmdef.lua
>
> 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 -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
>
>
> If reporting this issue please do so at (not Homebrew/brew or
> Homebrew/core):
>
>   https://github.com/openresty/homebrew-brew/issues
>
>
> These open issues may also help:
>
> Can't install openresty on macOS 10.15
> https://github.com/openresty/homebrew-brew/issues/10
>
> The openresty-debug package should use openresty-openssl-debug instead
> https://github.com/openresty/homebrew-brew/issues/3
>
> Fails to install OpenResty
> https://github.com/openresty/homebrew-brew/issues/5
>
>
> Error: A newer Command Line Tools release is available.
>
> Update them from Software Update in System Preferences or
>
> https://developer.apple.com/download/more/.
>
> Sheng Wu 吴晟
> Twitter, wusheng1108
>