Checked that there is not already provided the described functionality
Description
Nginx make step fails with an error because of lua-nginx-module.
For v0.10.13 the error is:
error: cast between incompatible function types from 'size_t ()(ngx_http_lua_script_engine_t )' {aka 'long unsigned int ()(struct )'} to 'void ()(ngx_http_lua_script_engine_t )' {aka 'void ()(struct )'} [-Werror=cast-function-type]
For v0.10.15 the error is:
fatal error: luajit.h: No such file or directory
Steps to Reproduce
Use a debian 10 environment to install nginx
Enable metrics using nginx_prometheus_metrics_enabled: true
Prerequisites
Description
Nginx make step fails with an error because of lua-nginx-module. For v0.10.13 the error is: error: cast between incompatible function types from 'size_t ()(ngx_http_lua_script_engine_t )' {aka 'long unsigned int ()(struct )'} to 'void ()(ngx_http_lua_script_engine_t )' {aka 'void ()(struct )'} [-Werror=cast-function-type]
For v0.10.15 the error is: fatal error: luajit.h: No such file or directory
Steps to Reproduce
nginx_external_modules:
Versions
2.2.0