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/05/24 08:44:28 UTC

[GitHub] [apisix] hozaifaaoud opened a new issue #4296: request help:

hozaifaaoud opened a new issue #4296:
URL: https://github.com/apache/apisix/issues/4296


   ### Issue description
   
   ### Environment
   
   Request help without environment information will be ignored or closed.
   
   * apisix version (cmd: `apisix version`): 2.5
   * OS (cmd: `uname -a`): ~18.04.1-Ubuntu
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): OpenSSL 1.1.1h 
   * 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:
   * luarocks version, if the issue is about installation (cmd: `luarocks --version`): 3.4.0
   Dears,
   I am trying to install APISIX  dependencies from this link 
   https://github.com/apache/apisix/blob/master/docs/en/latest/install-dependencies.md
   and while trying to run this command 
   curl https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh -sL | bash -
   I am facing this error 
   =======================================
   root@ip-172-31-19-227:/home/ubuntu/apisix-2.5# make deps
   mkdir -p ~/.luarocks
   luarocks config variables.OPENSSL_LIBDIR /usr/local/openresty/openssl111/lib
   Wrote
           variables.OPENSSL_LIBDIR = "/usr/local/openresty/openssl111/lib"
   to
           /root/.luarocks/config-5.1.lua
   luarocks config variables.OPENSSL_INCDIR /usr/local/openresty/openssl111/include
   Wrote
           variables.OPENSSL_INCDIR = "/usr/local/openresty/openssl111/include"
   to
           /root/.luarocks/config-5.1.lua
   luarocks install rockspec/apisix-master-0.rockspec --tree=deps --only-deps --local
   Missing dependencies for apisix master-0:
      lua-resty-dns-client 5.2.0 (not installed)
      lua-resty-template 1.9 (not installed)
      lua-resty-etcd 1.5.0 (not installed)
      lua-resty-balancer 0.02rc5 (not installed)
      lua-resty-ngxvar 0.5.2 (not installed)
      lua-resty-jit-uuid 0.0.7 (not installed)
      lua-resty-healthcheck-api7 2.2.0 (not installed)
      lua-resty-jwt 0.2.0 (not installed)
      lua-resty-hmac-ffi 0.05 (not installed)
      lua-resty-cookie 0.1.0 (not installed)
      lua-resty-session 2.24 (not installed)
      opentracing-openresty 0.1 (not installed)
      lua-resty-radixtree 2.7.0 (not installed)
      lua-protobuf 0.3.1 (not installed)
      lua-resty-openidc 1.7.2-1 (not installed)
      luafilesystem 1.7.0-2 (not installed)
      lua-tinyyaml 1.0 (not installed)
      nginx-lua-prometheus 0.20210206 (not installed)
      jsonschema 0.9.5 (not installed)
      lua-resty-ipmatcher 0.6 (not installed)
      lua-resty-kafka 0.07 (not installed)
      lua-resty-logger-socket 2.0-0 (not installed)
      skywalking-nginx-lua 0.4-1 (not installed)
      base64 1.5-2 (not installed)
      binaryheap 0.4 (not installed)
      dkjson 2.5-2 (not installed)
      resty-redis-cluster 1.02-4 (not installed)
      lua-resty-expr 1.2.0 (not installed)
      graphql 0.0.2 (not installed)
      argparse 0.7.1-1 (not installed)
      luasocket 3.0rc1-2 (not installed)
      luasec 0.9-1 (not installed)
      lua-resty-consul 0.3-2 (not installed)
      penlight 1.9.2-1 (not installed)
   
   apisix master-0 depends on lua-resty-ctxdump 0.1-0 (0.1-0 installed)
   apisix master-0 depends on lua-resty-dns-client 5.2.0 (not installed)
   Installing https://luarocks.org/lua-resty-dns-client-5.2.0-1.src.rock
   Missing dependencies for lua-resty-dns-client 5.2.0-1:
      penlight ~> 1 (not installed)
      lrandom (not installed)
      lua-resty-timer ~> 1 (not installed)
      binaryheap >= 0.4 (not installed)
      luaxxhash >= 1.0 (not installed)
   
   lua-resty-dns-client 5.2.0-1 depends on lua >= 5.1, < 5.4 (5.1-1 provided by VM)
   lua-resty-dns-client 5.2.0-1 depends on penlight ~> 1 (not installed)
   Installing https://luarocks.org/penlight-1.10.0-1.src.rock
   Missing dependencies for penlight 1.10.0-1:
      luafilesystem (not installed)
   
   penlight 1.10.0-1 depends on luafilesystem (not installed)
   Installing https://luarocks.org/luafilesystem-1.8.0-1.src.rock
   
   luafilesystem 1.8.0-1 depends on lua >= 5.1 (5.1-1 provided by VM)
   gcc -O2 -fPIC -I/usr/local/openresty/luajit/include/luajit-2.1 -c src/lfs.c -o src/lfs.o
   sh: 1: gcc: not found
   
   Error: Failed installing dependency: https://luarocks.org/lua-resty-dns-client-5.2.0-1.src.rock - Failed installing dependency: https://luarocks.org/penlight-1.10.0-1.src.rock - Failed installing dependency: https://luarocks.org/luafilesystem-1.8.0-1.src.rock - Build error: Failed compiling object src/lfs.o
   Makefile:80: recipe for target 'deps' failed
   make: *** [deps] Error 1
   =======================================
   could you please help me fixing this issue?
   


-- 
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] Firstsawyou commented on issue #4296: request help:

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


   Did you install the dependent environment according to this? https://apisix.apache.org/docs/apisix/install-dependencies#ubuntu-1604--1804


-- 
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] Firstsawyou commented on issue #4296: request help:

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


   > sh: 1: gcc: not found
   
   `gcc` is not installed, you try to install it first.
   
   ```shell
   sudo apt-get install -y gcc
   ```


-- 
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] hozaifaaoud commented on issue #4296: request help:

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


   Yes


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