Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support lua/metrics for debian 10 #70

Closed
jmonterrubio opened this issue Apr 10, 2020 · 0 comments
Closed

Support lua/metrics for debian 10 #70

jmonterrubio opened this issue Apr 10, 2020 · 0 comments
Assignees

Comments

@jmonterrubio
Copy link
Contributor

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

  1. Use a debian 10 environment to install nginx
  2. Enable metrics using nginx_prometheus_metrics_enabled: true
  3. Include the lua nginx module:

nginx_external_modules:


Versions

2.2.0

@jmonterrubio jmonterrubio self-assigned this Apr 10, 2020
jmonterrubio added a commit that referenced this issue Apr 10, 2020
jmonterrubio added a commit that referenced this issue Apr 14, 2020
#70 Support metrics for debian buster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant