abs007 opened a new issue, #9205:
URL: https://github.com/apache/apisix/issues/9205

   ### Description
   
   Running `sudo make test` gives this error:
   ```bash
   [ info ] test -> [ Start ]
   git submodule update --init --recursive
   prove -I../test-nginx/lib -I./ -r -s t/
   t/config-center-yaml/ssl.t ...................... /usr/bin/env: ‘luajit’: No 
such file or directory
   nginx: [emerg] unknown directive "lua_package_path" in 
/home/abhisman/Documents/apisix-3.2.0/t/servroot/conf/nginx.conf:30
   ```
   With the `nginx: [emerg] unknown directive "lua_package_path" in 
/home/abhisman/Documents/apisix-3.2.0/t/servroot/conf/nginx.conf:30` being 
repeated
   
   I initially installed apisix from source by following this page: 
https://apisix.apache.org/docs/apisix/building-apisix/
   
   After which I came across this error by running `sudo make test` and then I 
tried running this script: 
   https://github.com/api7/apisix-build-tools/blob/master/build-apisix-base.sh
   But, the issue still persists
   
   ### Environment
   
   - APISIX version (run `apisix version`): 
   3.2.0
   - Operating system (run `uname -a`): 
   Linux pop-os 6.2.0-76060200-generic #202302191831~1677858327~22.04~3cea1be 
SMP PREEMPT_DYNAMIC Fri M x86_64 x86_64 x86_64 GNU/Linux
   
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 
   nginx version: openresty/1.21.4.1
   built by gcc 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) 
   built with OpenSSL 3.0.2 15 Mar 2022
   TLS SNI support enabled
   configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 
-DAPISIX_BASE_VER=0.0.0 
-DNGX_GRPC_CLI_ENGINE_PATH=/usr/local/openresty/libgrpc_engine.so 
-DNGX_HTTP_GRPC_CLI_ENGINE_PATH=/usr/local/openresty/libgrpc_engine.so' 
--add-module=../ngx_devel_kit-0.3.1 --add-module=../echo-nginx-module-0.62 
--add-module=../xss-nginx-module-0.06 --add-module=../ngx_coolkit-0.2 
--add-module=../set-misc-nginx-module-0.33 
--add-module=../form-input-nginx-module-0.12 
--add-module=../encrypted-session-nginx-module-0.09 
--add-module=../srcache-nginx-module-0.32 --add-module=../ngx_lua-0.10.21 
--add-module=../ngx_lua_upstream-0.07 
--add-module=../headers-more-nginx-module-0.33 
--add-module=../array-var-nginx-module-0.05 
--add-module=../memc-nginx-module-0.19 --add-module=../redis2-nginx-module-0.15 
--add-module=../redis-nginx-module-0.3.9 --add-module=../ngx_stream_lua-0.0.11 
--with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib 
-Wl,-rpath,/usr/local/openresty/wasmtime-c-api/lib' 
 --add-module=/tmp/tmp.38hHb1xK2P/openresty-1.21.4.1/../mod_dubbo-1.0.2 
--add-module=/tmp/tmp.38hHb1xK2P/openresty-1.21.4.1/../ngx_multi_upstream_module-1.1.1
 
--add-module=/tmp/tmp.38hHb1xK2P/openresty-1.21.4.1/../apisix-nginx-module-1.12.0
 
--add-module=/tmp/tmp.38hHb1xK2P/openresty-1.21.4.1/../apisix-nginx-module-1.12.0/src/stream
 
--add-module=/tmp/tmp.38hHb1xK2P/openresty-1.21.4.1/../apisix-nginx-module-1.12.0/src/meta
 --add-module=/tmp/tmp.38hHb1xK2P/openresty-1.21.4.1/../wasm-nginx-module-0.6.4 
--add-module=/tmp/tmp.38hHb1xK2P/openresty-1.21.4.1/../lua-var-nginx-module-v0.5.3
 
--add-module=/tmp/tmp.38hHb1xK2P/openresty-1.21.4.1/../grpc-client-nginx-module-v0.4.2
 --with-poll_module --with-pcre-jit --with-stream --with-stream_ssl_module 
--with-stream_ssl_preread_module --with-http_v2_module 
--without-mail_pop3_module --without-mail_imap_module 
--without-mail_smtp_module --with-http_stub_status_module 
--with-http_realip_module --with-http_addition_module 
--with-http_auth_request_modu
 le --with-http_secure_link_module --with-http_random_index_module 
--with-http_gzip_static_module --with-http_sub_module --with-http_dav_module 
--with-http_flv_module --with-http_mp4_module --with-http_gunzip_module 
--with-threads --with-compat --with-stream --with-http_ssl_module
   
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   
{"etcd_version":"3.4.0","id":"11320a9f-1602-45b4-a8f1-fd39ad6e0eff","version":"3.2.0","hostname":"pop-os","boot_time":1679990781}
   
   - LuaRocks version, for installation issues (run `luarocks --version`):
   /usr/local/bin/luarocks 3.8.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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to