[GitHub] [apisix] Caelebs commented on issue #3886: bug: Execute "make deps" prompt "Could not find header file for OPENSSL"

2021-03-23 Thread GitBox


Caelebs commented on issue #3886:
URL: https://github.com/apache/apisix/issues/3886#issuecomment-804697369


   Thanks for the reply, apisix is now able to start
   @Firstsawyou @spacewander


-- 
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:
us...@infra.apache.org




[GitHub] [apisix] Caelebs commented on issue #3886: bug: Execute "make deps" prompt "Could not find header file for OPENSSL"

2021-03-22 Thread GitBox


Caelebs commented on issue #3886:
URL: https://github.com/apache/apisix/issues/3886#issuecomment-804656921


   The current situation is that I reinstalled the openresty-openssl111-devel 
that I uninstalled before, executed the script you gave, and I checked that the 
variables set in it are normal
   ```
   variables = {
  OPENSSL_INCDIR = "/usr/local/openresty/openssl111/include",
  OPENSSL_LIBDIR = "/usr/local/openresty/openssl111/lib"
   }
   
   ```
   But when I execute make deps, I don't quite understand what is wrong with 
the prompt message given.
   ```
   [root@TEST3 /0322/23/apisix] -> 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
   
   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 (5.2.0-1 installed)
   apisix master-0 depends on lua-resty-template 1.9 (1.9-1 installed)
   apisix master-0 depends on lua-resty-etcd 1.4.3 (1.4.3-0 installed)
   apisix master-0 depends on lua-resty-balancer 0.02rc5 (0.02rc5-0 installed)
   apisix master-0 depends on lua-resty-ngxvar 0.5.2 (0.5.2-0 installed)
   apisix master-0 depends on lua-resty-jit-uuid 0.0.7 (0.0.7-2 installed)
   apisix master-0 depends on lua-resty-healthcheck-api7 2.2.0 (2.2.0-0 
installed)
   apisix master-0 depends on lua-resty-jwt 0.2.0 (0.2.0-0 installed)
   apisix master-0 depends on lua-resty-hmac-ffi 0.05 (0.05-0 installed)
   apisix master-0 depends on lua-resty-cookie 0.1.0 (0.1.0-1 installed)
   apisix master-0 depends on lua-resty-session 2.24 (2.24-1 installed)
   apisix master-0 depends on opentracing-openresty 0.1 (0.1-0 installed)
   apisix master-0 depends on lua-resty-radixtree 2.7.0 (2.7.0-0 installed)
   apisix master-0 depends on lua-protobuf 0.3.1 (0.3.1-0 installed)
   apisix master-0 depends on lua-resty-openidc 1.7.2-1 (1.7.2-1 installed)
   apisix master-0 depends on luafilesystem 1.7.0-2 (1.7.0-2 installed)
   apisix master-0 depends on lua-tinyyaml 1.0 (1.0-0 installed)
   apisix master-0 depends on nginx-lua-prometheus 0.20201218 (0.20201218-1 
installed)
   apisix master-0 depends on jsonschema 0.9.4 (0.9.4-0 installed)
   apisix master-0 depends on lua-resty-ipmatcher 0.6 (0.6-0 installed)
   apisix master-0 depends on lua-resty-kafka 0.07 (0.07-0 installed)
   apisix master-0 depends on lua-resty-logger-socket 2.0-0 (2.0-0 installed)
   apisix master-0 depends on skywalking-nginx-lua 0.4-1 (0.4-1 installed)
   apisix master-0 depends on base64 1.5-2 (1.5-2 installed)
   apisix master-0 depends on binaryheap 0.4 (0.4-1 installed)
   apisix master-0 depends on dkjson 2.5-2 (2.5-2 installed)
   apisix master-0 depends on resty-redis-cluster 1.02-4 (1.02-4 installed)
   apisix master-0 depends on lua-resty-expr 1.2.0 (1.2.0-0 installed)
   apisix master-0 depends on graphql 0.0.2 (0.0.2-1 installed)
   apisix master-0 depends on argparse 0.7.1-1 (0.7.1-1 installed)
   apisix master-0 depends on luasocket 3.0rc1-2 (3.0rc1-2 installed)
   apisix master-0 depends on luasec 0.9-1 (0.9-1 installed)
   apisix master-0 depends on lua-resty-consul 0.3-2 (0.3-2 installed)
   apisix master-0 depends on penlight 1.9.2-1 (1.9.2-1 installed)
   Stopping after installing dependencies for apisix master-0
   
   [root@TEST3 /0322/23/apisix] ->
   ```


-- 
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:
us...@infra.apache.org




[GitHub] [apisix] Caelebs commented on issue #3886: bug: Execute "make deps" prompt "Could not find header file for OPENSSL"

2021-03-22 Thread GitBox


Caelebs commented on issue #3886:
URL: https://github.com/apache/apisix/issues/3886#issuecomment-804605385


   I run the command `luarocks config variables` directly, it will prompt error 
and did not get your output
   ```
   [root@TEST3 /0322/23/apisix] -> luarocks config variables
   
   Error: Please provide a flag for querying configuration values. See 
'/usr/bin/luarocks help config'.
   ```
   
   I have compiled and installed apisix2.2 version before on this machine, 
These errors did not appear at the time. The document requires 
`openresty-openssl-devel` to be installed instead of ` 
openresty-openssl111-devel`, so I have uninstalled 
`openresty-openssl111-devel`, but the error still persists
   
   ```
   [root@TEST3 /0322/23/apisix] -> rpm -qa | grep -i openssl
   openssl-libs-1.0.2k-16.el7.x86_64
   openresty-openssl111-1.1.1i-1.el7.x86_64
   openresty-openssl-1.1.0l-2.el7.x86_64
   openresty-openssl-devel-1.1.0l-2.el7.x86_64
   openssl-1.0.2k-16.el7.x86_64
   ```
   
   @spacewander @Firstsawyou


-- 
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:
us...@infra.apache.org




[GitHub] [apisix] Caelebs commented on issue #3886: bug: Execute "make deps" prompt "Could not find header file for OPENSSL"

2021-03-22 Thread GitBox


Caelebs commented on issue #3886:
URL: https://github.com/apache/apisix/issues/3886#issuecomment-804594227


   Before that, according to the commands in the install-dependencies.md 
document, I installed `openresty-openssl111-devel`, But I just found out that 
the document says "If you are using OpenResty which is older than `1.17.8`, 
please installing `openresty-openss-devel` instead of 
`openresty-openssl111-devel`", but in the following example , The command given 
is to install `openresty-openssl111-devel`? Is the document description wrong?
   But after I installed `openresty-openssl-devel`, executing `make deps` still 
prompted "Could not find header file for OPENSSL"
   ```
   [root@TEST3 /0322/23/apisix] -> rpm -qa | grep openssl
   openresty-openssl111-devel-1.1.1i-1.el7.x86_64
   openssl-libs-1.0.2k-16.el7.x86_64
   openresty-openssl111-1.1.1i-1.el7.x86_64
   openresty-openssl-1.1.0l-2.el7.x86_64
   openresty-openssl-devel-1.1.0l-2.el7.x86_64
   openssl-1.0.2k-16.el7.x86_64
   ```


-- 
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:
us...@infra.apache.org




[GitHub] [apisix] Caelebs commented on issue #3886: bug: Execute "make deps" prompt "Could not find header file for OPENSSL"

2021-03-22 Thread GitBox


Caelebs commented on issue #3886:
URL: https://github.com/apache/apisix/issues/3886#issuecomment-804594045


   Sorry, I don't know the usage of this command. According to the -h prompt, I 
executed the following commands, I don't know if it's right
   ```
   [root@TEST3 /0322/23/apisix] -> luarocks config --lua-ver
   5.1
   [root@TEST3 /0322/23/apisix] -> luarocks config --system-config
   /etc/luarocks/config-5.1.lua
   [root@TEST3 /0322/23/apisix] -> luarocks config --lua-incdir
   /usr/include
   [root@TEST3 /0322/23/apisix] -> luarocks config --lua-libdir
   /usr/lib64/lua
   [root@TEST3 /0322/23/apisix] -> luarocks config --rock-trees
   /root/.luarocks  user
   /usr system
   [root@TEST3 /0322/23/apisix] -> luarocks config --user-config
   /root/.luarocks/config-5.1.lua
   
   Error: file not found
   ```
   @spacewander


-- 
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:
us...@infra.apache.org