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

install-orange.sh 获取的luajit目录不对 #414

Open
jimchou800 opened this issue May 22, 2020 · 1 comment
Open

install-orange.sh 获取的luajit目录不对 #414

jimchou800 opened this issue May 22, 2020 · 1 comment

Comments

@jimchou800
Copy link

执行

sudo sh install/install-orange.sh

报错

Error: unknown option '--with-cc-opt'
使用的Orange版本

v0.8.1

需求或场景

install-orange.sh 安装orange

期望的结果

正确安装

错误的结果

按照openresty 官网文档安装的openresty目录结构

/usr/local/openresty
  /luajit
  /nginx
  /bin

而openresty -V的输出是
```shell
[root@centos7 nginx]# openresty -V
nginx version: openresty/1.15.8.3
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
built with OpenSSL 1.0.2k-fips  26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt=-O2 --add-module=../ngx_devel_kit-0.3.1rc1 --add-module=../echo-nginx-module-0.61 --add-module=../xss-nginx-module-0.06 --add-module=
LUA_JIT_DIR=`$OR_EXEC -V 2>&1 | grep prefix | grep -Eo 'prefix=(.*?)/nginx' | grep -Eo '/.*/'`

获取的jit目录不对

@jimchou800
Copy link
Author

openresty版本 1.15.8.3

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