You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/01/29 07:38:10 UTC

[GitHub] [apisix] LutzWeischerFujitsu opened a new issue #3455: bug: OpenResty not found.

LutzWeischerFujitsu opened a new issue #3455:
URL: https://github.com/apache/apisix/issues/3455


   ### Issue description
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): current master 
   * OS: (cmd: `uname -a`): Fedora 33, AArch64 
   * OpenResty / Nginx version: (cmd: `nginx -V` or `openresty -V`): current master 
   * etcd version, if have: (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API)
   * apisix-dashboard version, if have:
   
   ### Minimal test code / Steps to reproduce the issue
   
   1. build openresty 
   2. export PATH=/usr/local/openresty/bin:/usr/local/openresty/nginx/sbin:$PATH 
   
   ### What's the actual result? (including assertion message & call stack if applicable)
   sudo make VERBOSE=1 -j$(nproc) install
   which: no openresty in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/snapd/snap/bin)
   which: no nginx in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/snapd/snap/bin)
   ERROR: OpenResty not found. You have to install OpenResty and add the binary file to PATH before install Apache APISIX.
   exit 1
   make: *** [Makefile:37: default] Error 1
   
   ### What's the expected result?
   It works ... Thanks. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #3455: bug: OpenResty not found.

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3455:
URL: https://github.com/apache/apisix/issues/3455#issuecomment-769642206


   You should add the path of OpenResty to your root user's `$PATH` instead of yours, as you call `make` with the sudo.
   
   BTW, although you don't tell us why you use `make install`, you should not use `make install` which is used internally only. There is a comment near it.
   
   Please allow the instructions: https://github.com/apache/apisix/blob/master/doc/how-to-build.md


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #3455: bug: OpenResty not found.

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3455:
URL: https://github.com/apache/apisix/issues/3455#issuecomment-769644871


   Or use `sudo --preserve-env=PATH ...`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #3455: bug: OpenResty not found.

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3455:
URL: https://github.com/apache/apisix/issues/3455


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org