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/02/05 08:11:21 UTC
[GitHub] [apisix] idbeta opened a new issue #3529: bug: doc about install the dependencies need update
idbeta opened a new issue #3529:
URL: https://github.com/apache/apisix/issues/3529
### Issue description
### Environment
* apisix version (cmd: `apisix version`): master
* OS (cmd: `uname -a`): ubuntu
* OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
* 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:
Because luarock needs sudo when installing,
```
curl https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh -sL | sudo bash -
```
so the `make deps` of APISIX installed via source code also needs sudo, otherwise prompt error:
```
mkdir -p ~/.luarocks
luarocks config --local variables.OPENSSL_LIBDIR /usr/local/openresty/openssl/lib
Error: Cannot create file at /home/azureuser/.luarocks/config-5.1.lua
Makefile:58: recipe for target 'deps' failed
make: *** [deps] Error 1
```
can also fixed it via modify `linux-install-luarocks.sh`,
`make install > build.log 2>&1 || (cat build.log && exit 1)` -> `sudo make install ...`
----------------------------------------------------------------
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] idbeta edited a comment on issue #3529: bug: doc about install the dependencies need update
Posted by GitBox <gi...@apache.org>.
idbeta edited a comment on issue #3529:
URL: https://github.com/apache/apisix/issues/3529#issuecomment-773936609
----------------------------------------------------------------
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 #3529: bug: doc about install the dependencies need update
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3529:
URL: https://github.com/apache/apisix/issues/3529#issuecomment-773904476
Why you need `sudo` to create directory under `/home/xxxx` if you are `xxxx`?
----------------------------------------------------------------
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] idbeta commented on issue #3529: bug: doc about install the dependencies need update
Posted by GitBox <gi...@apache.org>.
idbeta commented on issue #3529:
URL: https://github.com/apache/apisix/issues/3529#issuecomment-773936609
> Why you need `sudo` to create directory under `/home/xxxx` if you are `xxxx`?
because `/home/xxxx/.luarocks/config-5.1.lua` was created after execute linux-install-luarocks.sh
and make deps will again
```
luarocks config --local variables.OPENSSL_LIBDIR $(addprefix $(OR_PREFIX), openssl/lib)
```
----------------------------------------------------------------
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 #3529: bug: doc about install the dependencies need update
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3529:
URL: https://github.com/apache/apisix/issues/3529#issuecomment-773904476
Why you need `sudo` to create directory under `/home/xxxx` if you are `xxxx`?
----------------------------------------------------------------
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] membphis closed issue #3529: bug: make deps prompt error
Posted by GitBox <gi...@apache.org>.
membphis closed issue #3529:
URL: https://github.com/apache/apisix/issues/3529
----------------------------------------------------------------
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] idbeta closed issue #3529: bug: doc about install the dependencies need update
Posted by GitBox <gi...@apache.org>.
idbeta closed issue #3529:
URL: https://github.com/apache/apisix/issues/3529
----------------------------------------------------------------
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