justnull commented on issue #9868:
URL: https://github.com/apache/apisix/issues/9868#issuecomment-1643046628

   ```shell
   [youth@localhost ~]$ curl 
https://raw.githubusercontent.com/apache/apisix/master/utils/install-dependencies.sh
 -sL | bash -
   
   + main
   
   ++ uname -s
   
   ++ tr '[:upper:]' '[:lower:]'
   
   + OS_NAME=linux
   
   + [[ 0 == 0 ]]
   
   + [[ linux == \l\i\n\u\x ]]
   
   + multi_distro_installation
   
   + grep -Eqi CentOS /etc/issue
   
   + grep -Eq CentOS /etc/os-release /etc/redhat-release /etc/rocky-release 
/etc/system-release
   
   + grep -Eqi Fedora /etc/issue
   
   + grep -Eq Fedora /etc/os-release /etc/redhat-release /etc/rocky-release 
/etc/system-release
   
   + grep -Eqi Debian /etc/issue
   
   + grep -Eq Debian /etc/os-release /etc/redhat-release /etc/rocky-release 
/etc/system-release
   
   + grep -Eqi Ubuntu /etc/issue
   
   + grep -Eq Ubuntu /etc/os-release /etc/redhat-release /etc/rocky-release 
/etc/system-release
   
   + grep -Eqi Arch /etc/issue
   
   + grep -Eq Arch /etc/os-release /etc/redhat-release /etc/rocky-release 
/etc/system-release
   
   + echo 'Non-supported operating system version'
   
   Non-supported operating system version
   
   + install_luarocks
   
   + bash -
   
   + curl 
https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh
 -sL
   
   + '[' -z ']'
   
   + OPENRESTY_PREFIX=/usr/local/openresty
   
   + LUAROCKS_VER=3.8.0
   
   + wget -q https://github.com/luarocks/luarocks/archive/v3.8.0.tar.gz
   
   + tar -xf v3.8.0.tar.gz
   
   + rm -f v3.8.0.tar.gz
   
   + cd luarocks-3.8.0
   
   + OR_BIN=/usr/local/openresty/bin/openresty
   
   ++ /usr/local/openresty/bin/openresty -v
   
   ++ awk -F / '{print $2}'
   
   ++ awk -F . '{print $1 * 100 + $2}'
   
   + OR_VER=121
   
   + [[ -e /usr/local/openresty/bin/openresty ]]
   
   + [[ 121 -ge 119 ]]
   
   + WITH_LUA_OPT=--with-lua=/usr/local/openresty/luajit
   
   + ./configure --with-lua=/usr/local/openresty/luajit
   
   + make build
   
   + sudo make install
   
   [sudo] password for youth: 
   
   + cd ..
   
   + rm -rf luarocks-3.8.0
   
   + mkdir /home/youth/.luarocks
   
   mkdir: cannot create directory ‘/home/youth/.luarocks’: File exists
   
   + true
   
   + OPENSSL_PREFIX=/usr/local/openresty/openssl
   
   + '[' -d /usr/local/openresty/openssl111 ']'
   
   ++ echo 
/usr/local/openresty/bin:/usr/local/openresty/nginx/sbin:/home/youth/.config/emacs/bin:/home/youth/.local/bin:/home/youth/bin:/usr/local/openresty/bin:/usr/local/openresty/nginx/sbin:/home/youth/.config/emacs/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
   
   ++ grep -oP '(?<=:|)/usr/local/bin(?=:|)'
   
   + FOUND_PATH=/usr/local/bin
   
   + [[ /usr/local/bin == '' ]]
   
   + luarocks config variables.OPENSSL_LIBDIR /usr/local/openresty/openssl/lib
   
   Wrote
   
        variables.OPENSSL_LIBDIR = "/usr/local/openresty/openssl/lib"
   
   to
   
        /home/youth/.luarocks/config-5.1.lua
   
   + luarocks config variables.OPENSSL_INCDIR 
/usr/local/openresty/openssl/include
   
   Wrote
   
        variables.OPENSSL_INCDIR = "/usr/local/openresty/openssl/include"
   
   to
   
        /home/youth/.luarocks/config-5.1.lua
   
   + return
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to