Giter VIP home page Giter VIP logo

nginx-module-ndk-lua's People

Contributors

kazuhisya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nginx-module-ndk-lua's Issues

[lua-nginx-module] Nginx 1.11.11 Compilation Error

SeeAlso: lua-nginx-module #1016

lua-nginx-module-0.10.7/src/ngx_http_lua_headers.c: In function 'ngx_http_lua_ngx_req_raw_header':
lua-nginx-module-0.10.7/src/ngx_http_lua_headers.c:151:15: error: incompatible types when assigning to type 'struct ngx_buf_t *' from type 'ngx_chain_t'
             b = hc->busy[i];
               ^
lua-nginx-module-0.10.7/src/ngx_http_lua_headers.c:227:15: error: incompatible types when assigning to type 'struct ngx_buf_t *' from type 'ngx_chain_t'
             b = hc->busy[i];
               ^
make[1]: *** [objs/addon/src/ngx_http_lua_headers.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/root/rpmbuild/BUILD/nginx-1.11.11'
make: *** [modules] Error 2


RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.3VLAab (%build)
    Bad exit status from /var/tmp/rpm-tmp.3VLAab (%build)

gpg key is not avaliable - server refused to connect

Just saying

wget https://copr-be.cloud.fedoraproject.org/results/khara/nginx-module-ndk-lua/pubkey.gpg
--2017-11-29 21:20:14--  https://copr-be.cloud.fedoraproject.org/results/khara/nginx-module-ndk-lua/pubkey.gpg
Resolving copr-be.cloud.fedoraproject.org (copr-be.cloud.fedoraproject.org)... 209.132.184.48
Connecting to copr-be.cloud.fedoraproject.org (copr-be.cloud.fedoraproject.org)|209.132.184.48|:443... failed: Connection refused.

centos 6

I am looking for centos 6 support

fc26 build faild

fedora 26 's luajit are 2.1.x .

# rpm -qa |grep luajit
luajit-2.1.0-0.2beta2.fc26.x86_64
luajit-devel-2.1.0-0.2beta2.fc26.x86_64

but, lua-nginx-module v0.10.7 require to luajit-2.0.x .

# rpmbuild -ba nginx-module-ndk-lua.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FIQkQg
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf nginx-1.11.7
+ /usr/bin/mkdir -p nginx-1.11.7
+ cd nginx-1.11.7
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ tar --strip-components=1 -zxf /root/rpmbuild/SOURCES/nginx-1.11.7.tar.gz
+ tar zxf /root/rpmbuild/SOURCES/lua-nginx-module-0.10.7.tar.gz
+ tar zxf /root/rpmbuild/SOURCES/ngx_devel_kit-0.3.0.tar.gz
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZjvjKk
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd nginx-1.11.7
+ cd /root/rpmbuild/BUILD/nginx-1.11.7
++ echo '--prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module'
++ echo '--add-dynamic-module=lua-nginx-module-0.10.7 --add-dynamic-module=ngx_devel_kit-0.3.0'
+++ pcre-config --cflags
++ echo -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic
+ ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --add-dynamic-module=lua-nginx-module-0.10.7 --add-dynamic-module=ngx_devel_kit-0.3.0 '--with-cc-opt=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --with-debug
checking for OS
 + Linux 3.10.0-514.2.2.el7.x86_64 x86_64
checking for C compiler ... found
 + using GNU C compiler
 + gcc version: 6.2.1 20160916 (Red Hat 6.2.1-2) (GCC)

~~ snip ~~

configuring additional dynamic modules
adding module in lua-nginx-module-0.10.7
checking for Lua library ... not found
checking for Lua library in /usr/local/ ... not found
checking for Lua library in /usr/local/ ... not found
checking for Lua library in /usr/pkg/ ... not found
checking for Lua library in /opt/local/ ... not found
checking for Lua library in /usr/local/*/lua51/ ... not found
checking for Lua library in /usr/ ... not found
checking for LuaJIT library in /usr/local/ ... not found
checking for LuaJIT library in /usr/ ... not found
checking for LuaJIT library in /usr/ ... not found
 ./configure: error: ngx_http_lua_module requires the Lua library.
error: Bad exit status from /var/tmp/rpm-tmp.ZjvjKk (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.ZjvjKk (%build)

lua-nginx-module-0.10.7/config

249         if [ $ngx_found = no ]; then
250             # FreeBSD with luajit-2.0 from ports collection
251             ngx_feature="LuaJIT library in /usr/local/"
252             ngx_feature_path="/usr/local/include/luajit-2.0"
253             if [ $NGX_RPATH = YES ]; then
254                 ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lluajit-5.1 -lm"
255             else
256                 ngx_feature_libs="-L/usr/local/lib -lluajit-5.1 -lm"
257             fi
258             . auto/feature
259         fi
260
261         if [ $ngx_found = no ]; then
262             # Gentoo with LuaJIT-2.0, try with -ldl
263             ngx_feature="LuaJIT library in /usr/"
264             ngx_feature_path="/usr/include/luajit-2.0"
265             if [ $NGX_RPATH = YES ]; then
266                 ngx_feature_libs="-R/usr/lib -L/usr/lib -lm -lluajit-5.1 -ldl"
267             else
268                 ngx_feature_libs="-L/usr/lib -lm -lluajit-5.1 -ldl"
269             fi
270             . auto/feature
271         fi
272
273         if [ $ngx_found = no ]; then
274             # Gentoo with LuaJIT 2.0
275             ngx_feature="LuaJIT library in /usr/"
276             ngx_feature_path="/usr/include/luajit-2.0"
277             if [ $NGX_RPATH = YES ]; then
278                 ngx_feature_libs="-R/usr/lib -L/usr/lib -lm -lluajit-5.1"
279             else
280                 ngx_feature_libs="-L/usr/lib -lm -lluajit-5.1"
281             fi
282             . auto/feature
283         fi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.