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/04/20 03:12:18 UTC

[GitHub] [apisix] Ben0625 opened a new issue #4084: request help:

Ben0625 opened a new issue #4084:
URL: https://github.com/apache/apisix/issues/4084


   make deps
   ### Environment
   * apisix version: 2.5
   * OS: 3.10.0-693.el7.x86_64
   * OpenResty version: openresty/1.17.8.2
   
   >Installing https://luarocks.org/luasec-0.9-1.src.rock
   Error: Failed installing dependency: https://luarocks.org/luasec-0.9-1.src.rock - Could not find header file for OPENSSL
     No file openssl/ssl.h in /usr/local/openresty/openssl111/include
   You may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command.
   Example: luarocks install luasec OPENSSL_DIR=/usr/local
   make: *** [deps] Error 1
   
   The output of `luarocks config variables` :
   > {
      AR = "ar",
      BUNZIP2 = "bunzip2",
      CC = "gcc",
      CFLAGS = "-O2 -fPIC",
      CHMOD = "chmod",
      CMAKE = "cmake",
      CP = "cp",
      CURL = "curl",
      CURLNOCERTFLAG = "-k",
      CVS = "cvs",
      FIND = "find",
      GIT = "git",
      GPG = "gpg",
      GUNZIP = "gunzip",
      HG = "hg",
      ICACLS = "icacls",
      LD = "gcc",
      LIBFLAG = "-shared",
      LIB_EXTENSION = "so",
      LS = "ls",
      LUA = "/usr/local/bin/luajit",
      LUALIB = "libluajit-5.1.a",
      LUA_BINDIR = "/usr/local/bin",
      LUA_DIR = "/usr/local",
      LUA_INCDIR = "/usr/local/include/luajit-2.1",
      LUA_LIBDIR = "/usr/local/lib",
      LUA_LIBDIR_FILE = "libluajit-5.1.a",
      MAKE = "make",
      MD5 = "md5",
      MD5SUM = "md5sum",
      MKDIR = "mkdir",
      MKTEMP = "mktemp",
      OBJ_EXTENSION = "o",
      OPENSSL = "openssl",
      OPENSSL_INCDIR = "/usr/local/openresty/openssl111/include",
      OPENSSL_LIBDIR = "/usr/local/openresty/openssl111/lib",
      PWD = "pwd",
      RANLIB = "ranlib",
      RM = "rm",
      RMDIR = "rmdir",
      ROCKS_TREE = "/usr/local/lib/luarocks/rocks-5.1",
      RSYNC = "rsync",
      RSYNCFLAGS = "--exclude=.git -Oavz",
      SCP = "scp",
      SCRIPTS_DIR = "/usr/local/bin",
      SEVENZ = "7z",
      SSCM = "sscm",
      SVN = "svn",
      TAR = "tar",
      TEST = "test",
      TOUCH = "touch",
      UNZIP = "unzip -n",
      WGET = "wget",
      WGETNOCERTFLAG = "--no-check-certificate",
      ZIP = "zip"
   
   The output of `luarocks --version` :
   /usr/local/bin/luarocks 3.4.0
   LuaRocks main command-line interface
   


-- 
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 #4084: Failed installing dependencies

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


   Do you install openresty-openssl111-devel? What's the output of `ls -R /usr/local/openresty/openssl111/include`?


-- 
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] Ben0625 closed issue #4084: Failed installing dependencies

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


   


-- 
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] Ben0625 commented on issue #4084: Failed installing dependencies

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


   > Do you install openresty-openssl111-devel? What's the output of `ls -R /usr/local/openresty/openssl111/include`?
   
   This is exactly the problem. 
   For those that may have the same probelm: I failed to install by yum, then I fixed it through https://www.programmersought.com/article/44521860037/
   
   Then I install openresty-openssl111-devel by yum. Then "make deps" success.
   Big 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] Firstsawyou commented on issue #4084: Failed installing dependencies

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


   Is the dependency of APISIX installed according to the documentation here? https://github.com/apache/apisix/blob/master/docs/en/latest/install-dependencies.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